diff --git a/.env.development b/.env.development index 9349b9e..7c6b255 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ # Portal Development Environment VITE_APP_TITLE=Momentry Portal (Development) -VITE_API_BASE_URL=http://127.0.0.1:3002 +VITE_API_BASE_URL=http://192.168.110.201:3002 VITE_API_KEY=muser_68600856036340bcafc01930eb4bd839_1774418104_97221b69 diff --git a/src/api/client.ts b/src/api/client.ts index fe19003..83d966b 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -127,7 +127,6 @@ function isTauri(): boolean { function handleSessionExpired() { console.warn("Session expired or connection error, redirecting to login..."); localStorage.removeItem('momentry_user'); - localStorage.removeItem('portal_config'); localStorage.removeItem('momentry_api_key'); if (window.location.pathname !== '/login') { window.location.href = '/login';