Skip to content

Commit

Permalink
Add a config file after smoke-signals upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tOkeshu committed Feb 17, 2015
1 parent 3983104 commit 3360a35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/hibuddy
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
var HibuddyServer = require("../server");
var server = new HibuddyServer({root: "/api"});

server.run(6424);
console.log("Listening on port 6424");
server.run();
console.log("Listening on port " + server.config.get('port'));
5 changes: 5 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"ip": "127.0.0.1",
"port": 6424
}

0 comments on commit 3360a35

Please sign in to comment.