update token
This commit is contained in:
@@ -421,7 +421,7 @@ app.get('/m3u8', async (req, res) => {
|
||||
if (!m3u8Url) return res.status(400).send('Missing url parameter');
|
||||
|
||||
try {
|
||||
const response = await axios.get(m3u8Url);
|
||||
const response = await axios.get(m3u8Url, { headers: buildHeaders() });
|
||||
let m3u8Data = response.data;
|
||||
const host = req.get('host');
|
||||
const protocol = req.protocol;
|
||||
|
||||
Reference in New Issue
Block a user