mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-09-20 08:31:55 +00:00
9 lines
248 B
JavaScript
9 lines
248 B
JavaScript
|
module.exports = async function () {
|
||
|
|
||
|
const fetch = require('node-fetch');
|
||
|
|
||
|
let data = fetch('https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json')
|
||
|
.then(res => res.json());
|
||
|
|
||
|
return data;
|
||
|
}
|