Skip to content

Commit

Permalink
fix: config file not working with default app config
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypa committed Jun 16, 2023
1 parent 6da7782 commit 6cec4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function getConfigs() {
throw new Error('Please provide valid app config file by setting APP_CONFIG environment variable or' +
' providing valid app.json in src folder' );
}
APP_CONFIG = _getAppConfig(process.env.APP_CONFIG);
APP_CONFIG = _getAppConfig(appConfig);
APP_CONFIG.port = APP_CONFIG.port || '5000';
return APP_CONFIG;
}
Expand Down

0 comments on commit 6cec4cc

Please sign in to comment.