1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

adjust configs

This commit is contained in:
Kyle Spearrin 2017-04-18 13:54:46 -04:00
parent 52745993cb
commit af698c7628
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{
"appSettings": {
"apiUri": "https://preview.api.bitwarden.com"
}
"appSettings": {
"apiUri": "https://bitwardenpreviewapi-j9dv6m.azurewebsites.net"
}
}

View File

@ -10,8 +10,7 @@ angular
whiteListedDomains: ['api.bitwarden.com', 'localhost']
});
var refreshPromise;
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService,
jwtHelper, $q) {
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService) {
if (options.url.indexOf(appSettings.apiUri) !== 0) {
return;
}