This commit is contained in:
ReallyLiri 2025-05-03 19:08:27 +03:00
parent c205612e17
commit b75795cac2

View file

@ -303,7 +303,7 @@ export function setupOAuthCallbackServerWithLongPoll(options: OAuthCallbackServe
const postAuthRedirectUri = req.query.postAuthRedirectUri as string | undefined const postAuthRedirectUri = req.query.postAuthRedirectUri as string | undefined
if (postAuthRedirectUri) { if (postAuthRedirectUri) {
log(`Redirecting to post-auth redirect URI: ${postAuthRedirectUri}`) log(`Redirecting to post-auth redirect URI: ${postAuthRedirectUri}`)
res.redirect(postAuthRedirectUri); res.redirect(postAuthRedirectUri)
} else { } else {
res.send('Authorization successful! You may close this window and return to the CLI.') res.send('Authorization successful! You may close this window and return to the CLI.')
} }