mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-15 04:43:36 +00:00
fix: websocket auth error electron
This commit is contained in:
@@ -874,7 +874,7 @@ function initializeApp() {
|
|||||||
if (isElectron()) {
|
if (isElectron()) {
|
||||||
Promise.all([getServerConfig(), getEmbeddedServerStatus()])
|
Promise.all([getServerConfig(), getEmbeddedServerStatus()])
|
||||||
.then(([config, status]) => {
|
.then(([config, status]) => {
|
||||||
if (status?.embedded && status?.running) {
|
if (status?.embedded && status?.running && !config?.serverUrl) {
|
||||||
embeddedMode = true;
|
embeddedMode = true;
|
||||||
}
|
}
|
||||||
if (config?.serverUrl) {
|
if (config?.serverUrl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user