File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function load() {
12
12
const port = env . PORT || 3000
13
13
const dockerCommand = env . DOCKER || '/usr/bin/docker'
14
14
const whichConfig = env . CONFIG || 'production'
15
- const configFilePath = ( env . CONFIG_DIR && env . CONFIG_FILE ) ? `${ env . CONFIG_DIR } ${ env . CONFIG_FILE } ` : 'config/config.json'
15
+ const configFilePath = ( env . CONFIG_DIR && env . CONFIG_FILE ) ? `${ env . CONFIG_DIR } / ${ env . CONFIG_FILE } ` : 'config/config.json'
16
16
const tokenFile = env . TOKEN_FILE
17
17
const usernameFile = env . USERNAME_FILE
18
18
const passwordFile = env . PASSWORD_FILE
@@ -140,7 +140,8 @@ function load() {
140
140
141
141
function initLocalDev ( ) {
142
142
/* optionally setup ENV for local dev testing */
143
- // env.CONFIG_PATH = './config/config.json'
143
+ // env.CONFIG_DIR = '/usr/src/app/config'
144
+ // env.CONFIG_FILE = 'config.json'
144
145
// env.DOCKER = 'docker'
145
146
// env.TOKEN = env.TOKEN || 'myToken123456'
146
147
// env.PASSWORD = env.PASSWORD || 'myPassword'
You can’t perform that action at this time.
0 commit comments