Skip to content

Commit

Permalink
revert this
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy committed Sep 24, 2023
1 parent 92dca9e commit a47c176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-astro-server/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export async function handleRoute({
let response = await pipeline.renderRoute(renderContext, mod);
if (response.status === 404 && has404Route(manifestData)) {
const fourOhFourRoute = await matchRoute('/404', manifestData, pipeline);
if (fourOhFourRoute?.route !== options.route)
// if (fourOhFourRoute?.route !== options.route)
return handleRoute({
...options,
matchedRoute: fourOhFourRoute,
Expand Down

0 comments on commit a47c176

Please sign in to comment.