Skip to content

Commit

Permalink
remove .js from config
Browse files Browse the repository at this point in the history
  • Loading branch information
behaviary committed Jun 5, 2019
1 parent 6b88ab9 commit 33360cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-config.js
@@ -1,6 +1,6 @@

module.exports = function getConfig() {
const configPath = process.cwd() + '/src/config.js';
const configPath = process.cwd() + '/src/config';
try {
return require(configPath)(process.env.NODE_ENV || 'development');
} catch (e) {
Expand Down

0 comments on commit 33360cf

Please sign in to comment.