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}`;