From 24d9b1e1ac7f65876ddcc70735c275907e326df5 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Mon, 2 Feb 2026 13:30:44 +0100 Subject: [PATCH] Updates --- apps/auth-server/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/auth-server/index.ts b/apps/auth-server/index.ts index 3d270b9..e474ac4 100644 --- a/apps/auth-server/index.ts +++ b/apps/auth-server/index.ts @@ -15,6 +15,16 @@ const server = Bun.serve({ console.log("req.headers", req.headers); try { + const reqURL = new URL(req.url); + + console.log("reqURL", reqURL); + + if (reqURL.pathname !== "/") { + return new Response("Auth Success!", { + status: 200, + }); + } + const host = req.headers.get("host"); const query = req.headers.get("x-original-uri"); const href = `https://${host}${query}`;