feat: server transfer rotation

This commit is contained in:
naiba
2026-05-25 10:15:24 +00:00
parent 2010d80914
commit 849d131382
60 changed files with 4488 additions and 1359 deletions
+2 -2
View File
@@ -26,12 +26,12 @@ export default function ProfilePage() {
})
window.history.replaceState({}, document.title, window.location.pathname)
}
}, [window.location.search])
}, [setProfile])
const bindO2 = async (provider: string) => {
try {
const redirectUrl = await getOauth2RedirectURL(provider, Oauth2RequestType.BIND)
window.location.href = redirectUrl.redirect!
window.location.assign(redirectUrl.redirect!)
} catch (error: any) {
toast.error(error.message)
}