mirror of
https://github.com/logos-messaging/logos-messaging-frontend.git
synced 2026-01-02 13:53:13 +00:00
remove no cors
This commit is contained in:
parent
cc7a1c3b12
commit
d13c4ec382
@ -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));
|
||||
}
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user