cleanup api urls

This commit is contained in:
Kyle Spearrin 2018-06-21 22:12:26 -04:00
parent dc01f0701e
commit 99e522a5d1
1 changed files with 3 additions and 20 deletions

View File

@ -65,30 +65,13 @@ export class ApiService implements ApiServiceAbstraction {
}
/* tslint:disable */
// Desktop
// Local Dev
//this.apiBaseUrl = 'http://localhost:4000';
//this.identityBaseUrl = 'http://localhost:33656';
// Desktop HTTPS
//this.apiBaseUrl = 'https://localhost:44377';
//this.identityBaseUrl = 'https://localhost:44392';
// Desktop external
//this.apiBaseUrl = 'http://192.168.1.3:4000';
//this.identityBaseUrl = 'http://192.168.1.3:33656';
// Preview
//this.apiBaseUrl = 'https://preview-api.bitwarden.com';
//this.identityBaseUrl = 'https://preview-identity.bitwarden.com';
// Production
if (this.isWebClient) {
this.apiBaseUrl = 'https://vault.bitwarden.com/api';
this.identityBaseUrl = 'https://vault.bitwarden.com/identity';
} else {
this.apiBaseUrl = 'https://api.bitwarden.com';
this.identityBaseUrl = 'https://identity.bitwarden.com';
}
/* tslint:enable */
}