Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
  • Loading branch information
ematipico and lilnasy authored Feb 26, 2024
1 parent 17ce2d3 commit e5a2d27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/astro/src/vite-plugin-astro-server/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export async function default404Page(
pathname,
}), { status: 404, headers: { 'Content-Type': 'text/html; charset=utf-8' } });
}
// mark the function as an AstroComponentFactory for the rendering internals
default404Page.isAstroComponentFactory = true;

export async function handle500Response(
Expand Down

0 comments on commit e5a2d27

Please sign in to comment.