summarylogtreecommitdiffstats
path: root/0001-Set-Vault-BaseURL.patch
diff options
context:
space:
mode:
authorMarkus Richter2018-11-18 00:53:45 +0100
committerMarkus Richter2018-11-18 00:53:45 +0100
commit1dfde26bd4901688106c7abd88ac9ade3236ef43 (patch)
tree4b4f4dc679ac8a9c7e9567cf83073c304fd541b3 /0001-Set-Vault-BaseURL.patch
parent0392f4aa82a28d0d351e2cd346953a7d8aad9705 (diff)
downloadaur-1dfde26bd4901688106c7abd88ac9ade3236ef43.tar.gz
fix gulp issue and fit to upstream
Diffstat (limited to '0001-Set-Vault-BaseURL.patch')
-rw-r--r--0001-Set-Vault-BaseURL.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/0001-Set-Vault-BaseURL.patch b/0001-Set-Vault-BaseURL.patch
index 073b7d80ed90..f05b7763ff35 100644
--- a/0001-Set-Vault-BaseURL.patch
+++ b/0001-Set-Vault-BaseURL.patch
@@ -1,7 +1,7 @@
--- a/src/app/services/services.module.ts
+++ b/src/app/services/services.module.ts
-@@ -120,20 +120,17 @@ const exportService = new ExportService(folderService, cipherService, apiService
- const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService);
+@@ -120,20 +120,16 @@ const notificationsService = new NotificationsService(userService, syncService,
+ const environmentService = new EnvironmentService(apiService, storageService, notificationsService);
const auditService = new AuditService(cryptoFunctionService, apiService);
-const analytics = new Analytics(window, () => platformUtilsService.isDev() || platformUtilsService.isSelfHost(),
@@ -22,7 +22,6 @@
+ const isDev = false;
+ environmentService.baseUrl = window.location.origin;
+ environmentService.notificationsUrl = window.location.origin + '/notifications';
-+
- await apiService.setUrls({
+ apiService.setUrls({
base: isDev ? null : window.location.origin,
api: isDev ? 'http://localhost:4000' : null,