Skip to content

Commit

Permalink
Add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Apr 22, 2024
1 parent f0bd6d2 commit 1ca4559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions static/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ErrorDocument 404 /404.html
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const config = {
],

kit: {
adapter: adapter(),
adapter: adapter({ fallback: "404.html" }),
prerender: {
handleMissingId: "warn",
entries: [
Expand Down

0 comments on commit 1ca4559

Please sign in to comment.