update public folder,

This commit is contained in:
louiscklaw
2025-06-08 19:08:41 +08:00
parent bc35e25616
commit fca048074e
150 changed files with 1648 additions and 6697 deletions

View File

@@ -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;