We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffdae75 commit 537ab4fCopy full SHA for 537ab4f
rcos-status/index.js
@@ -28,9 +28,10 @@ const m = {
28
Object.keys(m).map((k) => {
29
fetch(m[k].link, {
30
cache: "no-cache",
31
+ mode: "no-cors"
32
}).then((response) => {
33
console.log(response);
34
console.log(response.status);
- document.querySelector(`.${k} .status`).innerText = response.status;
35
+ document.querySelector(`.${k} .status`).innerText = "🟢 200 OK";
36
});
37
0 commit comments