From c97da5f22a83fb8ce18cfd24ee682aff62bc92a3 Mon Sep 17 00:00:00 2001 From: Felipe Domingues <53182096+domfelipe@users.noreply.github.com> Date: Sun, 31 May 2026 11:56:30 -0300 Subject: [PATCH] fix: default oauth callback redirect to production (#15) --- supabase/functions/oauth-callback/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supabase/functions/oauth-callback/index.ts b/supabase/functions/oauth-callback/index.ts index 352150c..03faef5 100644 --- a/supabase/functions/oauth-callback/index.ts +++ b/supabase/functions/oauth-callback/index.ts @@ -15,7 +15,7 @@ const RAILWAY_API_TOKEN = Deno.env.get("RAILWAY_API_TOKEN") ?? ""; const HERMES_API_SERVER_KEY = Deno.env.get("HERMES_API_SERVER_KEY") ?? ""; function siteUrl(): string { - return Deno.env.get("SITE_URL") ?? "https://798b89e5-0dc6-412a-81be-a4b6dfea7b6c.lovable.app"; + return (Deno.env.get("SITE_URL") ?? "https://mika.domco.ai").replace(/\/$/, ""); } function redirect(path: string): Response {