fix(basepath): add basepath

This commit is contained in:
zhangheng
2026-02-28 15:43:50 +08:00
parent bcf46df7ec
commit 4aa29b80d1
14 changed files with 72 additions and 49 deletions

View File

@@ -57,7 +57,7 @@ const QrLogin = ({ useUserStore }: { useUserStore: any }) => {
access_token: info.access_token || "",
refresh_token: info.refresh_token || "",
})
window.location.href = "/"
window.location.href = `${process.env.NEXT_PUBLIC_BASE_PATH}/`
} catch (err) {
console.log(err)
}