Update allente.se.config.js
This commit is contained in:
1 parent
71bde4ce32
commit
2dab7c60ad
1 file changed
+1
-1
@@ -1,4 +1,3 @@
|
||||
const axios = require('axios')
|
||||
const dayjs = require('dayjs')
|
||||
|
||||
module.exports = {
|
||||
@@ -31,6 +30,7 @@ module.exports = {
|
||||
return programs
|
||||
},
|
||||
async channels({ country, lang }) {
|
||||
const axios = require('axios')
|
||||
const data = await axios
|
||||
.get(`https://cs-vcb.allente.${country}/epg/events?date=${dayjs().format('YYYY-MM-DD')}`)
|
||||
.then(r => r.data)
|
||||
|
||||
Reference in new issue
Block a user