mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
Use HTTP_HOST env variable as default host address
This commit is contained in:
parent
d8f8bf6fd9
commit
e0f2866be6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user