Fix authentication issue
This commit is contained in:
@ -163,7 +163,7 @@ export class APIClient {
|
||||
// Handle expired tokens
|
||||
if (status === 412) {
|
||||
AuthApi.UnsetAuthenticated();
|
||||
window.location.href = import.meta.env.VITE_APP_BASENAME;
|
||||
window.location.href = "/";
|
||||
}
|
||||
|
||||
if (!args.allowFail && (status < 200 || status > 299))
|
||||
|
Reference in New Issue
Block a user