mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-29 22:56:36 +08:00
Refactor: UmiJs -> Vite (#12410)
### What problem does this PR solve? Refactor: UmiJs -> Vite+React ### Type of change - [x] Refactoring --------- Co-authored-by: Liu An <asiro@qq.com>
This commit is contained in:
@ -59,5 +59,6 @@ export default storage;
|
||||
|
||||
// Will not jump to the login page
|
||||
export function redirectToLogin() {
|
||||
window.location.href = location.origin + `/login`;
|
||||
const env = import.meta.env;
|
||||
window.location.href = location.origin + env.VITE_BASE_URL + `/login`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user