Skip to content

Commit

Permalink
use zod validation for env NETKI_BUSINESS_LINK_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
polymath-eric committed May 24, 2024
1 parent 54efc7e commit 591a6fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/cdd-backend/src/config/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ const configZ = z
.describe(
'http URL users will be directed to when onboarding with Netki'
),
businessLinkUrl: z
.string()
.default('')
.describe('URL for the business onboarding form'),
allowedBasicAuth: allowedBasicAuthZ,
allowedApiKeys: allowedApiKeysZ,
})
Expand Down

0 comments on commit 591a6fb

Please sign in to comment.