diff --git a/src/App.tsx b/src/App.tsx index 8c02da5..9f510fb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -73,7 +73,7 @@ function App() { setUsername(name); const endpoint = localStorage.getItem("apiEndpoint"); - if (endpoint) { + if (endpoint && !import.meta.env.VITE_API_ENDPOINT) { setApiEndpoint(endpoint); }