Switch to client-side rendering only for front page since Sveltekit seems to struggle with SSR of fontColorContrast

This commit is contained in:
2023-06-21 20:35:33 +02:00
parent fec01c4cfe
commit efd241db67
+2
View File
@@ -2,6 +2,8 @@ import { metricsDb } from '$lib/server/metrics';
import { tests as testsStore, type Test, userTests } from '$lib/server/tests'
import { get } from 'svelte/store'
export const ssr = false
export async function load({ cookies, params }) {
// Set a random session ID cookie if there is none, so we can uniquely
// identify the user and not randomly change their experience on every page load.