Add: some CORS error
This commit is contained in:
parent
286e7956f2
commit
a4e3031796
|
@ -116,6 +116,7 @@ function verck(ver) {
|
|||
}
|
||||
var start = "https://thedesk.top/notice?since_id=" + localStorage.getItem("last-notice-id");
|
||||
fetch(start, {
|
||||
mode: 'no-cors',
|
||||
method: 'GET'
|
||||
}).then(function (response) {
|
||||
return response.json();
|
||||
|
|
|
@ -516,6 +516,7 @@ function ticker() {
|
|||
var start = "https://toot.app/toot/";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
mode: 'no-cors',
|
||||
headers: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user