This commit is contained in:
Tommy Parnell
2024-05-07 17:02:37 -04:00
parent 02dbf268ad
commit e76531e35c
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,8 @@ const config = {
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter({
fallback: 'index.html' // may differ from host to host
fallback: 'index.html',
base: process.env.NODE_ENV === 'production' ? '/WATLRatingCalculator' : '',
})
}
};