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}$/)
.allow(null),
website: Joi.string()
.regex(/,/, { invert: true })
.uri({
scheme: ['http', 'https']
})
.allow(null),
logo: Joi.string()
.regex(/,/, { invert: true })
.uri({
scheme: ['https']
})