Browse Source

fix according review

pull/1/head
amper43 6 years ago
parent
commit
3e51fd027a
  1. 2
      analytics/.dockerignore
  2. 2
      analytics/config.py
  3. 2
      server/src/services/analytics_service.ts

2
analytics/.dockerignore

@ -1,5 +1,5 @@
.git .git
npm-debug npm-debug
node_modules node_modules
__pychache__ __pycache__
.vscode .vscode

2
analytics/config.py

@ -1,5 +1,3 @@
import os import os
import json import json

2
server/src/services/analytics_service.ts

@ -23,7 +23,7 @@ export class AnalyticsService {
constructor(private _onMessage: (message: AnalyticsMessage) => void) { constructor(private _onMessage: (message: AnalyticsMessage) => void) {
this._productionMode = process.env.NODE_ENV !== 'development'; this._productionMode = process.env.NODE_ENV !== 'development';
this._inDocker = process.env.INSIDE_DOCKER === 'true'; this._inDocker = process.env.INSIDE_DOCKER !== undefined;
this._init(); this._init();
} }

Loading…
Cancel
Save