update public folder,
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import axios from '../../lib/axios';
|
||||
|
||||
import { JWT_STORAGE_KEY } from './constant.js';
|
||||
import paths from '../../paths.js';
|
||||
import PATHS from '../../PATHS.js';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -60,7 +60,7 @@ export function tokenExpired(exp: number) {
|
||||
try {
|
||||
alert('Token expired!');
|
||||
sessionStorage.removeItem(JWT_STORAGE_KEY);
|
||||
window.location.href = paths.SIGN_IN;
|
||||
window.location.href = PATHS.SIGN_IN;
|
||||
} catch (error) {
|
||||
console.error('Error during token expiration:', error);
|
||||
throw error;
|
||||
|
Reference in New Issue
Block a user