vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 122 forks source link

fix(vite): add configured headers for devtool-related response #710

Open nighca opened 10 hours ago

nighca commented 10 hours ago

server.headers in vite configuration is now ignored by __devtool__ related requests, which are handled by sirv.

This PR applies server.headers in vite configuration to these requests' response.

This PR fixes #565.

netlify[bot] commented 10 hours ago

Deploy Preview for vue-devtools-docs canceled.

Name Link
Latest commit 5294d4bd1bb1739233d46c11af0d9a9d1691eeb8
Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/673ffff5aa8e8d00085adcd3
pkg-pr-new[bot] commented 10 hours ago

Open in Stackblitz

@vue/devtools-applet

``` pnpm add https://pkg.pr.new/@vue/devtools-applet@710 ```

@vue/devtools-core

``` pnpm add https://pkg.pr.new/@vue/devtools-core@710 ```

@vue/devtools

``` pnpm add https://pkg.pr.new/@vue/devtools@710 ```

@vue/devtools-api

``` pnpm add https://pkg.pr.new/@vue/devtools-api@710 ```

@vue/devtools-kit

``` pnpm add https://pkg.pr.new/@vue/devtools-kit@710 ```

vite-plugin-vue-devtools

``` pnpm add https://pkg.pr.new/vite-plugin-vue-devtools@710 ```

commit: 5294d4b