From 41bd60176631f7ecbb652f7eba6da076095874e4 Mon Sep 17 00:00:00 2001 From: Hamza KHAIT Date: Mon, 8 Apr 2024 10:50:28 +0200 Subject: [PATCH] fix: adding env vars validation --- src/config.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.schema.ts b/src/config.schema.ts index d1dd9bd..7c2953b 100644 --- a/src/config.schema.ts +++ b/src/config.schema.ts @@ -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(),