mirror of https://github.com/iptv-org/iptv
Create epg.js
parent
d7f3998a3d
commit
7f2c5b36c9
@ -0,0 +1,12 @@
|
||||
const axios = require('axios')
|
||||
|
||||
module.exports = {
|
||||
codes: {
|
||||
async load() {
|
||||
return await axios
|
||||
.get('https://iptv-org.github.io/epg/codes.json')
|
||||
.then(r => r.data)
|
||||
.catch(console.log)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue