Use sveltekit fetch instead of window.fetch
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-12-22 13:20:49 +01:00
parent 02a6276240
commit 6394e16a45

View file

@ -3,6 +3,10 @@ export async function handle({ event, resolve }) {
return response; return response;
} }
export async function handleFetch({ request, fetch }) {
return fetch(request);
}
export async function handleError({ error, event, status, message }) { export async function handleError({ error, event, status, message }) {
console.error(error) console.error(error)
return { return {