diff --git a/src/lib/utils.ts b/src/lib/utils.ts index b1a7d39..28ef0e5 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -303,7 +303,7 @@ export function setupOAuthCallbackServerWithLongPoll(options: OAuthCallbackServe const postAuthRedirectUri = req.query.postAuthRedirectUri as string | undefined if (postAuthRedirectUri) { log(`Redirecting to post-auth redirect URI: ${postAuthRedirectUri}`) - res.redirect(postAuthRedirectUri); + res.redirect(postAuthRedirectUri) } else { res.send('Authorization successful! You may close this window and return to the CLI.') }