Skip to content

Commit

Permalink
Default bind interface is now 0.0.0.0 (was localhost), and default po…
Browse files Browse the repository at this point in the history
…rt is 2666 (was 666).

Fixes rknLA#4, rknLA#5 and rknLA#10
  • Loading branch information
Guillaume Boudreau authored and dannon committed Sep 1, 2014
1 parent 82e5833 commit d801c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module.exports = {
incomingWebhookToken: 'your incoming webhook token',
outgoingWebhookToken: 'your outgoing webhook token',
outgoingWebhookServer: {
port: 666,
interface: '0.0.0.0',
port: 2666,
domain: 'your.webhook.server.com',
hookPath: '/irc-echo'
},
Expand Down
2 changes: 1 addition & 1 deletion lib/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {

/* Slack Outgoing Web Hook listening server */

var server = new Hapi.Server('localhost', config.slack.outgoingWebhookServer.port, {
var server = new Hapi.Server(config.slack.outgoingWebhookServer.interface, config.slack.outgoingWebhookServer.port, {
location: config.slack.outgoingWebhookServer.domain,
});

Expand Down

0 comments on commit d801c1c

Please sign in to comment.