mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
chore: add HTTP_INTERNAL
to env loader
This commit is contained in:
parent
10eef10216
commit
e695aa2147
@ -34,6 +34,7 @@ const env = {
|
|||||||
HTTP_HOST: v =>
|
HTTP_HOST: v =>
|
||||||
(!!v && !v.startsWith('http')) ||
|
(!!v && !v.startsWith('http')) ||
|
||||||
new Error('is required and must be an address, not a URL'),
|
new Error('is required and must be an address, not a URL'),
|
||||||
|
HTTP_INTERNAL: () => true, // optional
|
||||||
HTTP_PORT: v =>
|
HTTP_PORT: v =>
|
||||||
!!v ||
|
!!v ||
|
||||||
new Error('is required'),
|
new Error('is required'),
|
||||||
|
Loading…
Reference in New Issue
Block a user