Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-02-19 19:10:21 +03:00
parent 7e5feb43f3
commit dda68979ce

View file

@ -29,5 +29,9 @@ module.exports = {
),
categories: Joi.array().items(Joi.string().regex(/^[a-z]+$/)),
is_nsfw: Joi.boolean().strict().required(),
logo: Joi.string().uri().allow(null)
logo: Joi.string()
.uri({
scheme: ['https']
})
.allow(null)
}