chore: revert baseURL from public assets
This commit is contained in:
parent
5ce3459f85
commit
6c8cd72e52
@ -29,8 +29,8 @@ export default defineNuxtModule({
|
|||||||
|
|
||||||
nuxt.options.nitro.publicAssets = nuxt.options.nitro.publicAssets || []
|
nuxt.options.nitro.publicAssets = nuxt.options.nitro.publicAssets || []
|
||||||
if (env === 'dev')
|
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)
|
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') })
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user