mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: use undefined instead of null
This commit is contained in:
parent
484b10029d
commit
70911e4013
@ -10,7 +10,7 @@ const DEFAULT_OPTIONS = {
|
|||||||
databaseUrl:
|
databaseUrl:
|
||||||
process.env.DATABASE_URL || process.env.DATABASE_HOST
|
process.env.DATABASE_URL || process.env.DATABASE_HOST
|
||||||
? defaultDatabaseUrl()
|
? defaultDatabaseUrl()
|
||||||
: null,
|
: undefined,
|
||||||
databaseSchema: 'public',
|
databaseSchema: 'public',
|
||||||
port: process.env.HTTP_PORT || process.env.PORT || 4242,
|
port: process.env.HTTP_PORT || process.env.PORT || 4242,
|
||||||
host: process.env.HTTP_HOST,
|
host: process.env.HTTP_HOST,
|
||||||
|
Loading…
Reference in New Issue
Block a user