fix(basepath): add basepath
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user