1
0

chore: revert baseURL from public assets

This commit is contained in:
userquin 2023-05-26 12:00:22 +02:00
parent 5ce3459f85
commit 6c8cd72e52

View File

@ -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') })
},
})