From 2da5375845ddd7f3ccf8a21410a7e9d9897ce881 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 9 Nov 2025 23:14:14 +0000 Subject: [PATCH] completionId: cgen-e5f7f0097027492eb96778722c40ed0a cgen-e5f7f0097027492eb96778722c40ed0a --- api/discord/oauth/callback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/discord/oauth/callback.ts b/api/discord/oauth/callback.ts index cf4c8782..c32dca11 100644 --- a/api/discord/oauth/callback.ts +++ b/api/discord/oauth/callback.ts @@ -46,7 +46,7 @@ export default async function handler(req: any, res: any) { } try { - const redirectUri = `${process.env.VITE_API_BASE || "https://aethex.dev"}/api/discord/oauth/callback`; + const redirectUri = "https://aethex.dev/api/discord/oauth/callback"; // Exchange code for access token const tokenResponse = await fetch(