Skip to content

Commit

Permalink
Merge pull request #14 from DISIC/dev
Browse files Browse the repository at this point in the history
fix: adding env vars validation
  • Loading branch information
HamzaKhait authored Apr 8, 2024
2 parents 901c2df + 41bd601 commit 954aef4
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 954aef4

Please sign in to comment.