test: fix e2e testing setup

This commit is contained in:
Mo
2023-01-03 11:00:12 -06:00
parent 76d2d2112b
commit a447fa1ad7
5 changed files with 11 additions and 17 deletions

View File

@@ -115,15 +115,7 @@ export class SNApiService
public loadHost(): string {
const storedValue = this.storageService.getValue<string | undefined>(StorageKey.ServerHost)
this.host =
storedValue ||
this.host ||
((
window as {
_default_sync_server?: string
}
)._default_sync_server as string)
this.host = storedValue || this.host
return this.host
}