Add 404.html fallback

This commit is contained in:
Rgebee 2023-08-18 07:17:26 +01:00
commit 59187ddd4b

View file

@ -12,7 +12,7 @@ const config = {
adapter: adapter({ adapter: adapter({
pages: 'build', pages: 'build',
assets: 'build', assets: 'build',
fallback: null, fallback: '404.html',
precompress: false, precompress: false,
strict: true, strict: true,
trailingSlash: 'always' trailingSlash: 'always'