Skip to content

Commit 5a116a1

Browse files
committed
try fix 404 error
1 parent 6a1aaf5 commit 5a116a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

static/_redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/* /404.html 200
1+
/* /index.html 200

svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const config = {
88
preprocess: vitePreprocess(),
99
kit: {
1010
adapter: adapter({
11-
fallback: '404.html', // may differ from host to host
11+
fallback: '200.html', // may differ from host to host
1212
pages: 'build',
1313
assets: 'build',
1414
precompress: false,

0 commit comments

Comments
 (0)