mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +00:00
adjust configs
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"appSettings": {
|
"appSettings": {
|
||||||
"apiUri": "https://preview.api.bitwarden.com"
|
"apiUri": "https://bitwardenpreviewapi-j9dv6m.azurewebsites.net"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,7 @@ angular
|
|||||||
whiteListedDomains: ['api.bitwarden.com', 'localhost']
|
whiteListedDomains: ['api.bitwarden.com', 'localhost']
|
||||||
});
|
});
|
||||||
var refreshPromise;
|
var refreshPromise;
|
||||||
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService,
|
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, appSettings, tokenService, authService) {
|
||||||
jwtHelper, $q) {
|
|
||||||
if (options.url.indexOf(appSettings.apiUri) !== 0) {
|
if (options.url.indexOf(appSettings.apiUri) !== 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user