completionId: cgen-b2d446d78cf549c3a676d3673b91c4f0
cgen-b2d446d78cf549c3a676d3673b91c4f0
This commit is contained in:
parent
5ad7e20cf2
commit
3abe0bd531
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export default function handler(req: any, res: any) {
|
||||||
return res.status(500).json({ error: "Discord client ID not configured" });
|
return res.status(500).json({ error: "Discord client ID not configured" });
|
||||||
}
|
}
|
||||||
|
|
||||||
const redirectUri = `${process.env.VITE_API_BASE || "https://aethex.dev"}/api/discord/oauth/callback`;
|
const redirectUri = "https://aethex.dev/api/discord/oauth/callback";
|
||||||
|
|
||||||
// Get the next URL from query params (where to redirect after login)
|
// Get the next URL from query params (where to redirect after login)
|
||||||
const next = req.query.state || "/dashboard";
|
const next = req.query.state || "/dashboard";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue