We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46d2ead + c748e45 commit 86c0724Copy full SHA for 86c0724
src/renderer/components/Connect/LoginModal.tsx
@@ -106,7 +106,8 @@ export default function LoginModal({
106
const currentPath = window.location.href;
107
window.TransformerLab.API_URL = currentPath;
108
console.log('Connecting to: ', window.TransformerLab.API_URL);
109
- setServer(window.TransformerLab.API_URL);
+ // Call checkServer to verify the server is healthy before connecting
110
+ checkServer();
111
}
112
}, []);
113
0 commit comments