fix(nitro): only serve placeholders for publicPath

This commit is contained in:
Pooya Parsa 2021-04-20 12:30:12 +02:00
parent 6c31ab8312
commit 1b10a1f091

View File

@ -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()