Skip to content

Commit

Permalink
fix: inspect tab when custom buildAssetsDir is configured, fixes #589 (
Browse files Browse the repository at this point in the history
  • Loading branch information
dotmot committed Jan 30, 2024
1 parent 15b7fb4 commit 97386b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devtools/src/integrations/vite-inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function setup({ nuxt, rpc }: NuxtDevtoolsServerContext) {
category: 'advanced',
view: {
type: 'iframe',
src: `${nuxt.options.app.baseURL}/_nuxt/__inspect/`.replace(/\/\//g, '/'),
src: `${nuxt.options.app.baseURL}/${nuxt.options.app.buildAssetsDir}/__inspect/`.replace(/\/\//g, '/'),
},
}), nuxt)

Expand Down

0 comments on commit 97386b2

Please sign in to comment.