aboutsummaryrefslogtreecommitdiff
path: root/src/DillerConfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/DillerConfig.js')
-rw-r--r--src/DillerConfig.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DillerConfig.js b/src/DillerConfig.js
index 652561a..81ff046 100644
--- a/src/DillerConfig.js
+++ b/src/DillerConfig.js
@@ -53,11 +53,14 @@ function configureLogging(app) {
}
function DillerConfig() {
+ var httpPort = process.env.HTTP_PORT || 8080;
+
return {
isProd: isProd,
updateDillerRpc: !isProd(),
mqttUrl: mqttUrl,
postgresqlConfig: postgresqlConfig,
+ httpPort: httpPort,
configureLogging: configureLogging,
log: function () {
return log;