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,8 +68,8 @@ async function proxyM3U8(event: any) {
try {
// Use native fetch instead of axios
const response = await fetch(url, {
headers: headers as HeadersInit
const response = await globalThis.fetch(url, {
headers: headers as HeadersInit
});
if (!response.ok) {

View file

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