mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nitro): use app.assetsPath
for publicPath
(#1978)
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
00e6043601
commit
4a486377c5
@ -132,7 +132,7 @@ export function getNitroContext (nuxtOptions: NuxtOptions, input: NitroInput): N
|
||||
publicDir: resolve(nuxtOptions.srcDir, nuxtOptions.dir.public || nuxtOptions.dir.static),
|
||||
serverDir: resolve(nuxtOptions.srcDir, (nuxtOptions.dir as any).server || 'server'),
|
||||
routerBase: nuxtOptions.router.base,
|
||||
publicPath: nuxtOptions.build.publicPath,
|
||||
publicPath: nuxtOptions.app.assetsPath,
|
||||
isStatic: nuxtOptions.target === 'static' && !nuxtOptions.dev,
|
||||
fullStatic: nuxtOptions.target === 'static' && !nuxtOptions._legacyGenerate,
|
||||
staticAssets: nuxtOptions.generate.staticAssets,
|
||||
|
Loading…
Reference in New Issue
Block a user