Skip to content

Commit

Permalink
include 404.html as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy committed Jan 3, 2024
1 parent d854330 commit cdf6a88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/integrations/vercel/src/static/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ export default function vercelStatic({
continue: true,
},
{ handle: 'filesystem' },
{
src: `/*`,
dest: `/404.html`,
status: 404,
}
],
...(imageService || imagesConfig
? {
Expand Down

0 comments on commit cdf6a88

Please sign in to comment.