Use sveltekit fetch

This commit is contained in:
Alessio Davoli 2023-12-22 12:38:44 +01:00
parent 9d940a29c3
commit eb69f00c26

View file

@ -1,3 +1,7 @@
export const prerender = false; export const prerender = false;
export const ssr = true; export const ssr = true;
export const csr = true; export const csr = true;
export async function load({ fetch }) {
window.fetch = fetch;
}