Skip to content

Commit

Permalink
fix(dev): remove global serve-placeholder
Browse files Browse the repository at this point in the history
to be added back into app runtime (#94)
  • Loading branch information
pi0 committed Apr 13, 2022
1 parent e8bc4d3 commit 7b4f340
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dev/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ export function createDevServer (nitro: Nitro): NitroDevServer {
}
}

// Serve placeholder 404 assets instead of hitting SSR
// TODO: Option to opt-out
app.use(nitro.options.runtimeConfig.app.baseURL, servePlaceholder({ skipUnknown: true }))

// Worker proxy
const proxy = httpProxy.createProxy()
app.use(eventHandler(async (event) => {
Expand Down

0 comments on commit 7b4f340

Please sign in to comment.