Merge pull request #137 from EETagent/sveltekit_fix_logging

CRITICAL: Fix Sveltekit cookie logging based
This commit is contained in:
Vojtěch Jungmann 2023-01-12 21:02:52 +01:00 committed by GitHub
commit 4c9e7adc79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,6 @@ export const handleFetch: HandleFetch = async ({ request, fetch, event }) => {
const cookie = event.request.headers.get('cookie') || '';
console.log(`SSR: handleFetch() cookie: ${cookie}`);
request.headers.set('cookie', cookie);
const url = new URL(request.url);