1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-27 17:18:04 +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(''); $locationProvider.hashPrefix('');
jwtOptionsProvider.config({ jwtOptionsProvider.config({
urlParam: 'access_token2', urlParam: 'access_token2',
whiteListedDomains: ['api.bitwarden.com', 'localhost'] whiteListedDomains: ['api.bitwarden.com', 'bitwardenpreviewapi-j9dv6m.azurewebsites.net', 'localhost']
}); });
var refreshPromise; var refreshPromise;
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService) { jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService) {