diff --git a/serveronly/index.js b/serveronly/index.js index ea435a8e..e033bdc1 100644 --- a/serveronly/index.js +++ b/serveronly/index.js @@ -1,5 +1,6 @@ var app = require("../js/app.js"); app.start(function(config) { console.log(""); - console.log("Ready to go! Please point your browser to: http://localhost:" + config.port); + var bind_address = config.address ? config.address : "localhost"; + console.log("Ready to go! Please point your browser to: http://" + bind_address + ":" + config.port); });