1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +01:00

whitelist preview api url

This commit is contained in:
Kyle Spearrin 2017-04-18 14:10:03 -04:00
parent c8931cde6e
commit 2425eb0ff8

View File

@ -7,7 +7,7 @@ angular
$locationProvider.hashPrefix('');
jwtOptionsProvider.config({
urlParam: 'access_token2',
whiteListedDomains: ['api.bitwarden.com', 'localhost']
whiteListedDomains: ['api.bitwarden.com', 'bitwardenpreviewapi-j9dv6m.azurewebsites.net', 'localhost']
});
var refreshPromise;
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService) {