mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
implement hasKey helper
This commit is contained in:
@@ -60,8 +60,8 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
|
||||
/* tslint:disable */
|
||||
// Desktop
|
||||
//this.baseUrl = 'http://localhost:4000';
|
||||
//this.identityBaseUrl = 'http://localhost:33656';
|
||||
this.baseUrl = 'http://localhost:4000';
|
||||
this.identityBaseUrl = 'http://localhost:33656';
|
||||
|
||||
// Desktop HTTPS
|
||||
//this.baseUrl = 'https://localhost:44377';
|
||||
@@ -76,13 +76,15 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
//this.identityBaseUrl = 'https://preview-identity.bitwarden.com';
|
||||
|
||||
// Production
|
||||
/*
|
||||
if (this.isWebClient) {
|
||||
this.baseUrl = 'https://vault.bitwarden.com/api';
|
||||
this.identityBaseUrl = 'https://vault.bitwarden.com/identity';
|
||||
this.baseUrl = 'https://api.bitwarden.com';
|
||||
this.identityBaseUrl = 'https://identity.bitwarden.com';
|
||||
} else {
|
||||
this.baseUrl = 'https://api.bitwarden.com';
|
||||
this.identityBaseUrl = 'https://identity.bitwarden.com';
|
||||
}
|
||||
*/
|
||||
/* tslint:enable */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user