chore: generate

This commit is contained in:
GitHub Action
2026-01-16 05:37:24 +00:00
parent 40b275d7e6
commit 0233dd1b39
3 changed files with 9 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ export function parseRedirectUri(redirectUri?: string): { port: number; path: st
try {
const url = new URL(redirectUri)
const port = url.port ? parseInt(url.port, 10) : (url.protocol === "https:" ? 443 : 80)
const port = url.port ? parseInt(url.port, 10) : url.protocol === "https:" ? 443 : 80
const path = url.pathname || OAUTH_CALLBACK_PATH
return { port, path }
} catch {