Skip to content

Commit

Permalink
fixed bug in "alternate config file" code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoppieters committed Jun 2, 2016
1 parent f2210d2 commit 5df24a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makeWebApp.js
Expand Up @@ -32,7 +32,7 @@ module.exports = function (pathname, sitename, configfn, done) {


// 1a. load default config & and keep in cody object
var config = require(path.join(pathname, sitename, configfn && "config.json"));
var config = require(path.join(pathname, sitename, configfn || "config.json"));
cody.config = config;


Expand Down

0 comments on commit 5df24a5

Please sign in to comment.