From dba6eced88fe932b8168025b356e21b9b8c3602f Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Fri, 22 Dec 2023 12:53:29 +0100 Subject: [PATCH] Remove high definition of window.fetch --- frontend/src/routes/+layout.server.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/routes/+layout.server.ts b/frontend/src/routes/+layout.server.ts index 5029a50..5dbc4cd 100644 --- a/frontend/src/routes/+layout.server.ts +++ b/frontend/src/routes/+layout.server.ts @@ -1,11 +1,3 @@ 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