iptv-database/scripts/db/schemes/blocklist.js

9 lines
168 B
JavaScript
Raw Normal View History

2022-02-13 22:12:34 -05:00
const Joi = require('joi')
module.exports = {
channel: Joi.string()
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.required(),
ref: Joi.string().uri().required()
}