1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

implement hasKey helper

This commit is contained in:
Kyle Spearrin
2018-06-13 17:14:26 -04:00
parent eda99e4f12
commit 3303e60b40
7 changed files with 18 additions and 16 deletions

View File

@@ -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 */
}