Open gweill-guigops opened 7 months ago
đ The bug
_vfs cannot been retrieved if baseURL is different than / and behind proxy
đ ī¸ To reproduce
export default defineNuxtConfig({ app: { baseURL: '/prefix/' }, devtools: { enabled: true }, });
Put your app behind a proxy which serve only your baseUrl
đ Expected behavior
_vfs.json is fetched using /prefix/_vfs.json
âšī¸ Additional context
https://github.com/nuxt/devtools/blob/12dae597b1c9e1e77749b3ea5ddde71c60847d2b/packages/devtools/client/composables/state.ts#L73
đ The bug
_vfs cannot been retrieved if baseURL is different than / and behind proxy
đ ī¸ To reproduce
export default defineNuxtConfig({ app: { baseURL: '/prefix/' }, devtools: { enabled: true }, });
Put your app behind a proxy which serve only your baseUrl
đ Expected behavior
_vfs.json is fetched using /prefix/_vfs.json
âšī¸ Additional context
https://github.com/nuxt/devtools/blob/12dae597b1c9e1e77749b3ea5ddde71c60847d2b/packages/devtools/client/composables/state.ts#L73