Skip to content

Commit

Permalink
use index.html for 404 _redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
wighawag committed Nov 26, 2023
1 parent f13c8f4 commit 15a09e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/_redirects/+server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const prerender = true;
export const GET = async () => {
// see: https://docs.ipfs.tech/how-to/websites-on-ipfs/redirects-and-custom-404s/#examples
return new Response(`/* /404.html/ 404`);
return new Response(`/* /404.html/index.html 404`);
};

0 comments on commit 15a09e7

Please sign in to comment.