set api urls for dev
This commit is contained in:
parent
aed5db0a8c
commit
51efa59728
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 322dcf76ae7de4c7633d0828ec8f062ee856e5c4
|
||||
Subproject commit dc01f0701ea7905d2da7c3babb19870e212d2337
|
|
@ -111,7 +111,14 @@ containerService.attachToWindow(window);
|
|||
|
||||
export function initFactory(): Function {
|
||||
return async () => {
|
||||
await environmentService.setUrlsFromStorage();
|
||||
if (platformUtilsService.isDev()) {
|
||||
await apiService.setUrls({
|
||||
base: null,
|
||||
api: 'https://api.bitwarden.com',
|
||||
identity: 'https://identity.bitwarden.com',
|
||||
});
|
||||
} // TODO: elseif self host
|
||||
|
||||
lockService.init(true);
|
||||
const locale = await storageService.get<string>(ConstantsService.localeKey);
|
||||
await i18nService.init(locale);
|
||||
|
|
Loading…
Reference in New Issue