From 4725b3d17e3d11ca2653db9d9bc64fb8e473aa93 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:12:32 +0300 Subject: [PATCH] Update channels.js --- scripts/schemes/channels.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/schemes/channels.js b/scripts/schemes/channels.js index 6d954628..6126e24a 100644 --- a/scripts/schemes/channels.js +++ b/scripts/schemes/channels.js @@ -45,11 +45,13 @@ module.exports = { .regex(/^[A-Za-z0-9]+\.[a-z]{2}$/) .allow(null), website: Joi.string() + .regex(/,/, { invert: true }) .uri({ scheme: ['http', 'https'] }) .allow(null), logo: Joi.string() + .regex(/,/, { invert: true }) .uri({ scheme: ['https'] })