1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

filter analytics on self host

This commit is contained in:
Kyle Spearrin
2018-07-19 19:49:48 -04:00
parent 65860b166f
commit f4127a575b

View File

@@ -108,7 +108,7 @@ const authService = new AuthService(cryptoService, apiService,
const exportService = new ExportService(folderService, cipherService, apiService);
const auditService = new AuditService(cryptoFunctionService, apiService);
const analytics = new Analytics(window, () => platformUtilsService.isDev(),
const analytics = new Analytics(window, () => platformUtilsService.isDev() || platformUtilsService.isSelfHost(),
platformUtilsService, storageService, appIdService);
containerService.attachToWindow(window);