From eac85ec934ab05c85a4eb58953f859626aa7ce3d Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Fri, 22 Dec 2023 12:38:49 +0100 Subject: [PATCH] Same as before --- frontend/src/routes/+layout.server.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/routes/+layout.server.ts b/frontend/src/routes/+layout.server.ts index 58fe872..5029a50 100644 --- a/frontend/src/routes/+layout.server.ts +++ b/frontend/src/routes/+layout.server.ts @@ -2,6 +2,10 @@ export const prerender = false; export const ssr = true; export const csr = true; +/** + * This is a global configuration for using sveltekit + * custom 'fetch' function that enables a lot of things + */ export async function load({ fetch }) { window.fetch = fetch; } \ No newline at end of file