fix: Fixes issue where self-hosted accounts may not have loaded correct server

This commit is contained in:
Mo
2024-01-06 15:00:41 -06:00
parent 604f341f8f
commit acd20dcc70
4 changed files with 3 additions and 34 deletions

View File

@@ -169,7 +169,7 @@ export class SessionManager
}
}
const serverHost = this.storage.getValue<string | undefined>(`${StorageKey.ServerHost}:${this.workspaceIdentifier}`)
const serverHost = this.storage.getValue<string | undefined>(StorageKey.ServerHost)
if (serverHost) {
void this.apiService.setHost(serverHost)
this.httpService.setHost(serverHost)