From 34bb4f6d03669eba0774ee408d0034633f1d5254 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Sat, 19 Jun 2021 20:04:14 -0400 Subject: [PATCH] using react env pass through --- docker-compose.yml | 2 +- frontend/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d754a98..afc15d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -164,7 +164,7 @@ services: - REACT_APP_BACKEND_SERVER - REACT_APP_FRONTEND_SERVER - REACT_APP_SITE_NAME - - GOOGLE_ANALYTICS + - REACT_GOOGLE_ANALYTICS depends_on: - mongo networks: diff --git a/frontend/src/index.js b/frontend/src/index.js index f128bbd..3d9595c 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -21,7 +21,7 @@ import ListSystemsContainer from "./System/ListSystemsContainer" // Call import CallPlayerContainer from "./Call/CallPlayerContainer" -ReactGA.initialize(process.env.GOOGLE_ANALYTICS); +ReactGA.initialize(process.env.REACT_GOOGLE_ANALYTICS); const store = configureStore(/* provide initial state if any */)