From 208ef56da63af362a6f0f80f56129b42a1bbb811 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 18 Mar 2022 17:03:30 -0500 Subject: remove a bunch of console.logs --- src/hooks.ts | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/hooks.ts') diff --git a/src/hooks.ts b/src/hooks.ts index ac53658..64c1b9d 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -7,25 +7,11 @@ if (!SKYBLOCK_STATS_API_KEY) export const handle: Handle = async ({ event, resolve }) => { const cookies = cookie.parse(event.request.headers.get('cookie') || '') - // event.locals.userid = cookies.userid || uuid(); - console.log(cookies) event.locals.sid = cookies.sid const response = await resolve(event) - // if (!cookies.userid) { - // // if this is the first time the user has visited this app, - // // set a cookie so that we recognise them when they return - // response.headers.set( - // 'set-cookie', - // cookie.serialize('userid', event.locals.userid, { - // path: '/', - // httpOnly: true - // }) - // ); - // } - return response } -- cgit