summaryrefslogtreecommitdiffstats
path: root/cholerab
diff options
context:
space:
mode:
Diffstat (limited to 'cholerab')
-rwxr-xr-xcholerab/knut/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cholerab/knut/index.js b/cholerab/knut/index.js
index e7278678..0ec6abae 100755
--- a/cholerab/knut/index.js
+++ b/cholerab/knut/index.js
@@ -1,7 +1,7 @@
#! /usr/bin/env node
-var host = '0.0.0.0';
-var port = 42101;
+var host = process.env.host || '0.0.0.0';
+var port = Number(process.env.port) || 42101;
var pipe = '/tmp/krebscode.painload.cholerab.ttycnser.' + process.env.LOGNAME;