mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
Use HTTP_HOST env variable as default host address
This commit is contained in:
parent
c1956ac623
commit
206b1445ef
@ -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