mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 23:26:36 +08:00
Fix: Some bugs (#12441)
### What problem does this PR solve? Fix: Some bugs - In a production environment, a second-level page refresh results in a white screen. - The knowledge graph cannot be opened. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -59,6 +59,6 @@ export default storage;
|
||||
|
||||
// Will not jump to the login page
|
||||
export function redirectToLogin() {
|
||||
const env = import.meta.env;
|
||||
window.location.href = location.origin + env.VITE_BASE_URL + `/login`;
|
||||
// const env = import.meta.env;
|
||||
window.location.href = location.origin + `/login`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user