mirror of
https://github.com/JuLi0n21/osu-progress-oauth-helper.git
synced 2026-04-19 16:00:06 +00:00
add vercel ass output
This commit is contained in:
@@ -39,7 +39,7 @@ app.get('/callback', async (req, res) => {
|
|||||||
'client_secret': process.env.CLIENT_SECRET,
|
'client_secret': process.env.CLIENT_SECRET,
|
||||||
'code': authorizationCode,
|
'code': authorizationCode,
|
||||||
'grant_type': 'authorization_code',
|
'grant_type': 'authorization_code',
|
||||||
'redirect_uri': `http://localhost:${port}/callback`
|
'redirect_uri': `https://${process.env.VERCEL_BRANCH_URL}/callback`
|
||||||
});
|
});
|
||||||
|
|
||||||
fetch(tokenEndpoint, {
|
fetch(tokenEndpoint, {
|
||||||
|
|||||||
Reference in New Issue
Block a user