mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
cleanup api urls
This commit is contained in:
@@ -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://api.bitwarden.com';
|
||||||
this.apiBaseUrl = 'https://vault.bitwarden.com/api';
|
this.identityBaseUrl = 'https://identity.bitwarden.com';
|
||||||
this.identityBaseUrl = 'https://vault.bitwarden.com/identity';
|
|
||||||
} else {
|
|
||||||
this.apiBaseUrl = 'https://api.bitwarden.com';
|
|
||||||
this.identityBaseUrl = 'https://identity.bitwarden.com';
|
|
||||||
}
|
|
||||||
/* tslint:enable */
|
/* tslint:enable */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user