Update rev.bs.config.js

This commit is contained in:
Aleksandr Statciuk 2021-10-05 03:33:27 +03:00
parent 39b8492aa5
commit 999e70fc85

View file

@ -10,11 +10,8 @@ dayjs.extend(timezone)
const endpoint = `https://www.rev.bs/wp-content/uploads/tv-guide/$date_$index.json` const endpoint = `https://www.rev.bs/wp-content/uploads/tv-guide/$date_$index.json`
module.exports = { module.exports = {
lang: 'en',
site: 'rev.bs', site: 'rev.bs',
days: 3, days: 3,
channels: 'rev.bs.channels.xml',
output: '.gh-pages/guides/rev.bs.guide.xml',
url: function ({ date }) { url: function ({ date }) {
return endpoint.replace('$date', date.format('YYYY-MM-DD')).replace('$index', 0) return endpoint.replace('$date', date.format('YYYY-MM-DD')).replace('$index', 0)
}, },