Skip to content

Commit

Permalink
fix: adding env vars validation
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaKhait authored Apr 8, 2024
1 parent 68a988a commit 41bd601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.schema.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as joi from 'joi';

// env vars validation
export const configValidationSchema = joi.object({
JMMC_URL: joi.string().uri().required(),
COOKIE_SECRET: joi.string().required(),
Expand Down

0 comments on commit 41bd601

Please sign in to comment.