diff --git a/modules/web/config.json b/modules/web/config.json index 60f35d1..45cd275 100644 --- a/modules/web/config.json +++ b/modules/web/config.json @@ -1,4 +1,4 @@ { "webHost": "localhost", - "webPort": 8090 + "webPort": 9001 } diff --git a/run.js b/run.js index f9418dd..31c3adc 100644 --- a/run.js +++ b/run.js @@ -207,7 +207,7 @@ DBot.prototype.reloadModules = function() { if(module.pages) { _.extend(this.pages, module.pages); _.each(module.pages, function(page) { - page.module = name; + page.module = module; }, this); }