mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
chore: revert baseURL from public assets
This commit is contained in:
parent
5ce3459f85
commit
6c8cd72e52
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue