From 31f8636e7e9757dcb0f8349eef170c558517c474 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Wed, 20 May 2026 09:30:35 +0100 Subject: [PATCH] refactor: remove unnecessary logging in app.ts --- apps/api/src/app.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/api/src/app.ts b/apps/api/src/app.ts index 27498411..c2cd2675 100644 --- a/apps/api/src/app.ts +++ b/apps/api/src/app.ts @@ -95,23 +95,17 @@ export const app = new Hono() let request = c.req.raw; const fwdHost = c.req.header('x-forwarded-host'); const fwdProto = c.req.header('x-forwarded-proto'); - console.log('fwdHost', fwdHost); - console.log('fwdProto', fwdProto); if (fwdHost) { const url = new URL(request.url); - console.log('url', url); url.host = fwdHost; if (fwdProto === 'https' || fwdProto === 'http') { url.protocol = `${fwdProto}:`; } - console.log('url', url); request = new Request(url, request); } - console.log('request', request); const response = await auth.handler(request); - // Surface redirect targets so we can trace OAuth flow in Render logs. if (response.status >= 300 && response.status < 400) { console.log('[auth-handler]', c.req.method, c.req.path, '→', response.status, response.headers.get('location')); }