mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix(nitro): only serve placeholders for publicPath
This commit is contained in:
parent
6c31ab8312
commit
1b10a1f091
@ -64,7 +64,6 @@ export function createDevServer (nitroContext: NitroContext) {
|
||||
|
||||
// serve placeholder 404 assets instead of hitting SSR
|
||||
app.use(nitroContext._nuxt.publicPath, servePlaceholder())
|
||||
app.use(nitroContext._nuxt.routerBase, servePlaceholder({ skipUnknown: true }))
|
||||
|
||||
// SSR Proxy
|
||||
const proxy = createProxy()
|
||||
|
Loading…
Reference in New Issue
Block a user