Skip to content

Commit ba25048

Browse files
committed
fix: add log to indicate config env var
1 parent 9a870cd commit ba25048

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/services/config.js

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ const { log, HELPERS } = require('@rm/logger')
77
const checkConfigJsons = require('./functions/checkConfigJsons')
88
const { loadCachedAreas } = require('./areas')
99

10+
if (process.env.NODE_CONFIG_ENV) {
11+
log.info(HELPERS.config, `Using config for ${process.env.NODE_CONFIG_ENV}`)
12+
}
1013
const allowedMenuItems = [
1114
'gyms',
1215
'nests',

0 commit comments

Comments
 (0)