mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 15:53:08 +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 =>
|
||||
(!!v && !v.startsWith('http')) ||
|
||||
new Error('is required and must be an address, not a URL'),
|
||||
HTTP_INTERNAL: () => true, // optional
|
||||
HTTP_PORT: v =>
|
||||
!!v ||
|
||||
new Error('is required'),
|
||||
|
Loading…
Reference in New Issue
Block a user