Update OAuth callback redirect URI to match Discord portal
cgen-266c299d97a447b9b7dd541902c20e69
This commit is contained in:
parent
7f4dc5c67b
commit
7f6fb19dae
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = `${process.env.VITE_API_BASE || "https://aethex.dev"}/discord`;
|
||||
|
||||
// Exchange code for access token
|
||||
const tokenResponse = await fetch(
|
||||
|
|
|
|||
Loading…
Reference in a new issue