really...

This commit is contained in:
Pas 2025-05-14 17:47:13 -06:00
parent 173e069628
commit 2d067ddbec
2 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ async function proxyM3U8(event: any) {
try { try {
// Use native fetch instead of axios // Use native fetch instead of axios
const response = await fetch(url, { const response = await globalThis.fetch(url, {
headers: headers as HeadersInit headers: headers as HeadersInit
}); });

View file

@ -33,7 +33,7 @@ export default defineEventHandler(async (event) => {
} }
try { try {
const response = await fetch(url, { const response = await globalThis.fetch(url, {
method: 'GET', method: 'GET',
headers: { headers: {
...headers as HeadersInit, ...headers as HeadersInit,