Remove high definition of window.fetch

This commit is contained in:
Alessio Davoli 2023-12-22 12:53:29 +01:00
parent cc11368926
commit dba6eced88

View file

@ -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;
}