1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

cleanup api urls

This commit is contained in:
Kyle Spearrin
2018-06-21 22:12:26 -04:00
parent dc01f0701e
commit 99e522a5d1

View File

@@ -65,30 +65,13 @@ export class ApiService implements ApiServiceAbstraction {
} }
/* tslint:disable */ /* tslint:disable */
// Desktop // Local Dev
//this.apiBaseUrl = 'http://localhost:4000'; //this.apiBaseUrl = 'http://localhost:4000';
//this.identityBaseUrl = 'http://localhost:33656'; //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 // 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.apiBaseUrl = 'https://api.bitwarden.com';
this.identityBaseUrl = 'https://identity.bitwarden.com'; this.identityBaseUrl = 'https://identity.bitwarden.com';
}
/* tslint:enable */ /* tslint:enable */
} }