fix: login address error
This commit is contained in:
parent
c9ebcab8b8
commit
5d7ff93ac2
@ -14,7 +14,7 @@ API.interceptors.response.use(
|
||||
if (error.response?.status === 401) {
|
||||
localStorage.removeItem('user');
|
||||
store.dispatch({ type: LOGIN, payload: null });
|
||||
window.location.href = config.basename + '/login';
|
||||
window.location.href = config.basename + 'login';
|
||||
}
|
||||
|
||||
if (error.response?.data?.message) {
|
||||
|
Loading…
Reference in New Issue
Block a user