diff --git a/functions/api/auth/mobile/login.ts b/functions/api/auth/mobile/login.ts index 3313618..0f349ee 100644 --- a/functions/api/auth/mobile/login.ts +++ b/functions/api/auth/mobile/login.ts @@ -1,3 +1,8 @@ -export async function onRequestGet(context: RequestContext) { - return Response.redirect("/api/auth/oauth"); +export async function onRequestGet(_context: RequestContext) { + return new Response(null, { + headers: { + location: "/api/auth/oauth", + }, + status: 302, + }); }