Update channels.js

This commit is contained in:
freearhey 2023-10-30 22:12:32 +03:00
parent 00109a37a2
commit 4725b3d17e

View file

@ -45,11 +45,13 @@ module.exports = {
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/) .regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.allow(null), .allow(null),
website: Joi.string() website: Joi.string()
.regex(/,/, { invert: true })
.uri({ .uri({
scheme: ['http', 'https'] scheme: ['http', 'https']
}) })
.allow(null), .allow(null),
logo: Joi.string() logo: Joi.string()
.regex(/,/, { invert: true })
.uri({ .uri({
scheme: ['https'] scheme: ['https']
}) })