Added a config option for listening interface

This commit is contained in:
Zaid Abdulla committed 2012-10-17 14:05:38 +03:00
1 parent 2b997e466a
commit d93ba4445a
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
config = require './config'
http = require 'http'
fs = require 'fs'
@@ -26,7 +27,7 @@ sendRequest = (serial, taskId, seq = 0) ->
options = {
#host: '172.17.32.59',
host: '127.0.0.1',
port: 1337,
port: config.ACS_PORT,
method: 'POST',
headers: headers,
}