1
0
Fork 0
mirror of https://github.com/iptv-org/database.git synced 2025-01-14 00:01:02 -05:00
iptv-database/scripts/db/schemes/blocklist.js
2022-02-14 06:12:34 +03:00

8 lines
168 B
JavaScript

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