fallback to index.html

This commit is contained in:
Nikita Galaiko 2023-04-25 12:35:19 +02:00
parent b319f79eda
commit 32cc66a818

View File

@ -6,6 +6,9 @@ const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
adapter: staticAdapter({ adapter: staticAdapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: true, precompress: true,
strict: false strict: false
}) })