chore: add HTTP_INTERNAL to env loader

This commit is contained in:
Isaac
2024-01-20 20:53:50 +00:00
parent 10eef10216
commit e695aa2147

View File

@@ -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'),