fix(basepath): add basepath
This commit is contained in:
@@ -204,7 +204,7 @@ export default function LoginPage({ 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 (error) {
|
||||
if (error) {
|
||||
const message =
|
||||
|
||||
Reference in New Issue
Block a user