diff options
author | Markus Richter | 2018-11-18 00:53:45 +0100 |
---|---|---|
committer | Markus Richter | 2018-11-18 00:53:45 +0100 |
commit | 1dfde26bd4901688106c7abd88ac9ade3236ef43 (patch) | |
tree | 4b4f4dc679ac8a9c7e9567cf83073c304fd541b3 /0001-Set-Vault-BaseURL.patch | |
parent | 0392f4aa82a28d0d351e2cd346953a7d8aad9705 (diff) | |
download | aur-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.patch | 7 |
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, |