mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
change to environmentService.getWebVaultUrl (#162)
This commit is contained in:
@@ -242,8 +242,10 @@ export class LoginCommand {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
let foundPort = false;
|
let foundPort = false;
|
||||||
const webUrl = this.environmentService.webVaultUrl == null ? 'https://vault.bitwarden.com' :
|
let webUrl = this.environmentService.getWebVaultUrl();
|
||||||
this.environmentService.webVaultUrl;
|
if (webUrl == null) {
|
||||||
|
webUrl = 'https://vault.bitwarden.com';
|
||||||
|
}
|
||||||
for (let port = 8065; port <= 8070; port++) {
|
for (let port = 8065; port <= 8070; port++) {
|
||||||
try {
|
try {
|
||||||
this.ssoRedirectUri = 'http://localhost:' + port;
|
this.ssoRedirectUri = 'http://localhost:' + port;
|
||||||
|
|||||||
Reference in New Issue
Block a user