Browse Source
Merge pull request #136 from mprasil/disable_analytics
Remove analytics from Vault
pull/140/head
Daniel García
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
1 deletions
-
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(); |
|
|
|