diff --git a/scripts/db/schemes/channels.js b/scripts/db/schemes/channels.js index 33d7cab5..bb29d425 100644 --- a/scripts/db/schemes/channels.js +++ b/scripts/db/schemes/channels.js @@ -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) }