Skip to content

Commit

Permalink
change sveltekit fallback to 200.html
Browse files Browse the repository at this point in the history
  • Loading branch information
TeemuKoivisto committed Mar 27, 2024
1 parent 3103006 commit ce2f19b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/client/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ export default {
lib: './src/lib'
},
paths: {
// base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
base: process.env.VITE_DEPLOY_TO_GH ? '/midi-note-trainer' : ''
},
adapter: adapter({
// default options are shown
pages: 'build',
assets: 'build',
fallback: 'index.html'
fallback: '200.html'
})
}
}

0 comments on commit ce2f19b

Please sign in to comment.