remove no cors

This commit is contained in:
Sasha 2023-11-29 11:59:32 +01:00
parent cc7a1c3b12
commit d13c4ec382
No known key found for this signature in database

View File

@ -22,13 +22,6 @@ export const http = {
});
},
get(url: string) {
return fetch(new URL(url), {
method: "GET",
mode: "no-cors",
referrerPolicy: "no-referrer",
headers: {
'Content-Type': 'text/plain'
},
});
return fetch(new URL(url));
}
};