diff --git a/modules/build-env.ts b/modules/build-env.ts index 9052dd94..3f5656d0 100644 --- a/modules/build-env.ts +++ b/modules/build-env.ts @@ -29,8 +29,8 @@ export default defineNuxtModule({ nuxt.options.nitro.publicAssets = nuxt.options.nitro.publicAssets || [] if (env === 'dev') - nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-dev'), baseURL: '/' }) + nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-dev') }) else if (env === 'canary' || env === 'preview' || !isCI) - nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-staging'), baseURL: '/' }) + nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-staging') }) }, })