diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts index 7109615b..4ec38a68 100644 --- a/src/config/axios/service.ts +++ b/src/config/axios/service.ts @@ -229,7 +229,7 @@ const handleAuthorized = () => { wsCache.clear() removeToken() isRelogin.show = false - window.location.href = '/' + window.location.href = import.meta.env.VITE_BASE_PATH }) .catch(() => { isRelogin.show = false