manually include basePath

This commit is contained in:
Francis Cao 2025-11-09 22:03:06 -08:00
parent f30724629c
commit 9230f3cb7b
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ export function LogoutPage() {
async function logout() {
await post('/auth/logout');
window.location.href = '/login';
window.location.href = `${process.env.basePath || ''}/login`;
}
removeClientAuthToken();