Skip to content

Commit bf12273

Browse files
Merge pull request #147 from topcoder-platform/dev
PROD-2145 Log Env Vars -> master
2 parents d6cc350 + 357a658 commit bf12273

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
module.exports = (() => {
44
const env = process.env.REACT_APP_HOST_ENV || "dev";
55

6-
console.info(`REACT_APP_HOST_ENV: "${env}"`);
6+
console.info(`REACT_APP_HOST_ENV: "${process.env.REACT_APP_HOST_ENV}"`);
7+
console.info(`env: "${env}"`);
78

89
// for security reason don't let to require any arbitrary file defined in process.env
910
if (["prod", "dev"].indexOf(env) < 0) {

0 commit comments

Comments
 (0)