From 5ecafb157d44978ce29b6af6fa290e01063a980d Mon Sep 17 00:00:00 2001 From: Miroslav Prasil Date: Tue, 14 Aug 2018 21:48:56 +0100 Subject: [PATCH] Disable analytics via patch to Vault --- docker/set-vault-baseurl.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker/set-vault-baseurl.patch b/docker/set-vault-baseurl.patch index 104395aa..492f6b64 100644 --- a/docker/set-vault-baseurl.patch +++ b/docker/set-vault-baseurl.patch @@ -1,6 +1,14 @@ --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts -@@ -119,10 +119,8 @@ +@@ -116,17 +116,15 @@ const exportService = new ExportService(folderService, cipherService, apiService + const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService); + const auditService = new AuditService(cryptoFunctionService, apiService); + +-const analytics = new Analytics(window, () => platformUtilsService.isDev() || platformUtilsService.isSelfHost(), ++const analytics = new Analytics(window, () => platformUtilsService.isDev() || platformUtilsService.isSelfHost() || true, + platformUtilsService, storageService, appIdService); + containerService.attachToWindow(window); + export function initFactory(): Function { return async () => { await (storageService as HtmlStorageService).init();