1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-29 11:05:01 +02:00

add more api environments

This commit is contained in:
Kyle Spearrin 2017-04-25 13:19:34 -04:00
parent 69f06020b8
commit f04908058f

View File

@ -1,6 +1,8 @@
function ApiService(tokenService, appIdService, utilsService, logoutCallback) {
this.baseUrl = 'http://localhost:4000';
//this.baseUrl = 'https://api.bitwarden.com';
this.baseUrl = 'http://localhost:4000'; // Desktop
//this.baseUrl = 'http://192.168.1.8:4000'; // Desktop external
//this.baseUrl = 'https://preview-api.bitwarden.com'; // Preview
//this.baseUrl = 'https://api.bitwarden.com'; // Production
this.tokenService = tokenService;
this.logoutCallback = logoutCallback;
this.appIdService = appIdService;