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(