From 206b1445ef659913223e7b77f1bac27bc4db6234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Sun, 6 May 2018 13:01:28 +0200 Subject: [PATCH] Use HTTP_HOST env variable as default host address --- lib/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/options.js b/lib/options.js index 7cb4250155..dce96bcb40 100644 --- a/lib/options.js +++ b/lib/options.js @@ -8,7 +8,7 @@ const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000; const DEFAULT_OPTIONS = { databaseUrl: process.env.DATABASE_URL, port: process.env.HTTP_PORT || process.env.PORT || 4242, - host: undefined, + host: process.env.HTTP_HOST, baseUriPath: process.env.BASE_URI_PATH || '', serverMetrics: true, enableLegacyRoutes: true,