diff --git a/scripts/db/schemes/channels.js b/scripts/db/schemes/channels.js index bb29d425..11822fa2 100644 --- a/scripts/db/schemes/channels.js +++ b/scripts/db/schemes/channels.js @@ -29,6 +29,11 @@ module.exports = { ), categories: Joi.array().items(Joi.string().regex(/^[a-z]+$/)), is_nsfw: Joi.boolean().strict().required(), + website: Joi.string() + .uri({ + scheme: ['http', 'https'] + }) + .allow(null), logo: Joi.string() .uri({ scheme: ['https']