From e695aa2147cb76bb35bdc5e09a178a1d31b4eee0 Mon Sep 17 00:00:00 2001 From: Isaac Date: Sat, 20 Jan 2024 20:53:50 +0000 Subject: [PATCH] chore: add `HTTP_INTERNAL` to env loader --- src/env.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/env.js b/src/env.js index d18d0e0..40bcde9 100644 --- a/src/env.js +++ b/src/env.js @@ -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'),