1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02: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) {