Revert callback endpoint to use /api/discord/oauth/callback
cgen-9ec96030d9144aecb3592d45cbe41996
This commit is contained in:
parent
feefdafc8c
commit
d58f467603
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ export default async function handler(req: any, res: any) {
|
|||
}
|
||||
|
||||
try {
|
||||
const redirectUri = `${process.env.VITE_API_BASE || "https://aethex.dev"}/discord`;
|
||||
const redirectUri = `${process.env.VITE_API_BASE || "https://aethex.dev"}/api/discord/oauth/callback`;
|
||||
|
||||
// Exchange code for access token
|
||||
const tokenResponse = await fetch(
|
||||
|
|
|
|||
Loading…
Reference in a new issue