diff --git a/analytics/.dockerignore b/analytics/.dockerignore index 0a87603..ce5fca2 100644 --- a/analytics/.dockerignore +++ b/analytics/.dockerignore @@ -1,5 +1,5 @@ .git npm-debug node_modules -__pychache__ +__pycache__ .vscode diff --git a/analytics/config.py b/analytics/config.py index 97faa14..d71d955 100644 --- a/analytics/config.py +++ b/analytics/config.py @@ -1,5 +1,3 @@ - - import os import json diff --git a/server/src/services/analytics_service.ts b/server/src/services/analytics_service.ts index 8cec1a4..a41940a 100644 --- a/server/src/services/analytics_service.ts +++ b/server/src/services/analytics_service.ts @@ -23,7 +23,7 @@ export class AnalyticsService { constructor(private _onMessage: (message: AnalyticsMessage) => void) { this._productionMode = process.env.NODE_ENV !== 'development'; - this._inDocker = process.env.INSIDE_DOCKER === 'true'; + this._inDocker = process.env.INSIDE_DOCKER !== undefined; this._init(); }