Skip to content

Commit

Permalink
Define fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
brodysmith1 committed Nov 16, 2023
1 parent 04df9fb commit 1da1b31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const config = {
preprocess: vitePreprocess(),

kit: {
adapter: adapter(),
adapter: adapter({
fallback: 'index.html'
}),
paths: {
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
}
Expand Down

0 comments on commit 1da1b31

Please sign in to comment.