🐛 The bug
Comments on issue #237 seem to indicate that PR #386 would allow the iframe to be relative to baseURL, but the iframe still points to /__nuxt_devtools__/client/ - this makes nuxt devtools go 404 when the application is accessed through a reverse proxy.
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-s8vyfn?file=nuxt.config.ts
🌈 Expected behavior
Setting baseURL=/prefix/ in nuxt.config.ts
export default defineNuxtConfig({
app: { baseURL: '/prefix/' },
devtools: { enabled: true },
});
the iframe should point to /prefix/__nuxt_devtools__/client/ but opening the browser's network monitor or DOM inspector will show that it still points to /__nuxt_devtools__/client/
ℹ️ Additional context
No response
🐛 The bug
Comments on issue #237 seem to indicate that PR #386 would allow the iframe to be relative to baseURL, but the iframe still points to
/__nuxt_devtools__/client/- this makes nuxt devtools go 404 when the application is accessed through a reverse proxy.🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-s8vyfn?file=nuxt.config.ts
🌈 Expected behavior
Setting baseURL=/prefix/ in nuxt.config.ts
the iframe should point to
/prefix/__nuxt_devtools__/client/but opening the browser's network monitor or DOM inspector will show that it still points to/__nuxt_devtools__/client/ℹ️ Additional context
No response