Skip to content

Commit

Permalink
chore: add HTTP_INTERNAL to env loader
Browse files Browse the repository at this point in the history
  • Loading branch information
eartharoid committed Jan 20, 2024
1 parent 10eef10 commit e695aa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit e695aa2

Please sign in to comment.