-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(vite): add configured headers for devtool-related response #710
Conversation
✅ Deploy Preview for vue-devtools-docs canceled.
|
@vue/devtools-applet
@vue/devtools-core
@vue/devtools
@vue/devtools-api
@vue/devtools-kit
vite-plugin-vue-devtools
commit: |
@webfansplz The issue is fixed as I confirmed by following these steps:
While during testing, I noticed that sometimes the script ( |
Hi @alexzhang1030 , could you help to check this PR ? |
I confirmed this error exists, and I tested the fix locally, and it seems to work. |
server.headers
in vite configuration is now ignored by__devtool__
related requests, which are handled bysirv
.This PR applies
server.headers
in vite configuration to these requests' response.This PR fixes #565.