From fd45da45cd953800a65bb8b7add454b70013aa9e Mon Sep 17 00:00:00 2001 From: ernstmul Date: Mon, 28 Oct 2024 08:26:12 +0100 Subject: [PATCH] Remove debug fetch --- src/hooks.client.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/hooks.client.ts b/src/hooks.client.ts index 9d4ac94ba..c6404ee81 100644 --- a/src/hooks.client.ts +++ b/src/hooks.client.ts @@ -25,12 +25,3 @@ export const handleError: HandleClientError = Sentry.handleErrorWithSentry( }; } ); -const originalFetch = window.fetch; - -const customFetch = async (input, init = {}) => { - init.credentials = 'include'; - console.log('adjusted => ', input); - return originalFetch(input, init); -}; - -window.fetch = customFetch;