1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00: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) {