Skip to content

Commit

Permalink
fix(settings): Cannot read property 'host' of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Feb 27, 2017
1 parent fda90c3 commit 5391790
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ try {
} catch (e) {
}

module.exports['settings'] = helpers.merge(settings, {
let exportSettings = helpers.merge(settings, {
httpServer: {host: 'localhost', port: 8080},
staticServer: {host: 'localhost', port: 8081},
matchServer: {host: 'localhost', port: 8082, sampleSize: 32},
Expand All @@ -18,3 +18,6 @@ module.exports['settings'] = helpers.merge(settings, {
},
gameTime: 45 * 60 * 1000
});

exportSettings['settings'] = exportSettings;
module.exports = exportSettings;

0 comments on commit 5391790

Please sign in to comment.