using react env pass through

This commit is contained in:
Luke Berndt
2021-06-19 20:04:14 -04:00
parent 5116f4925a
commit 34bb4f6d03
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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 */)