fix(deployment) enable SPA

This commit is contained in:
2023-09-19 14:11:09 -04:00
parent 25f0c0ffba
commit 5c912ce013
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
import { Drawer } from '@skeletonlabs/skeleton';
import SelectServer from '$lib/components/SelectServer.svelte';
import SelectRoom from '$lib/components/SelectRoom.svelte';
export const prerender = false;
export const ssr = false;
// Hack to get BigInt <-> JSON compatibility
(BigInt.prototype as any).toJSON = function () {
return this.toString();

View File

@@ -13,6 +13,7 @@ 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'
})
}
};