Browse Source

build: netlify requires fallback page 404.html

instead of 200.html so using that instead
master
DanConwayDev 2 years ago
parent
commit
88bdd676dd
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 0
      src/404.html
  2. 2
      svelte.config.js

0
src/200.html → src/404.html

2
svelte.config.js

@ -8,7 +8,7 @@ const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
adapter: adapter({ adapter: adapter({
fallback: '200.html', fallback: '404.html',
}), }),
}, },
} }

Loading…
Cancel
Save