mirror of
https://github.com/Discreetly/frontend.git
synced 2026-01-08 20:38:04 -05:00
fix(deployment) enable SPA
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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'
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user