Skip to content

Commit 537ab4f

Browse files
authored
hard code status
1 parent ffdae75 commit 537ab4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rcos-status/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ const m = {
2828
Object.keys(m).map((k) => {
2929
fetch(m[k].link, {
3030
cache: "no-cache",
31+
mode: "no-cors"
3132
}).then((response) => {
3233
console.log(response);
3334
console.log(response.status);
34-
document.querySelector(`.${k} .status`).innerText = response.status;
35+
document.querySelector(`.${k} .status`).innerText = "🟢 200 OK";
3536
});
3637
});

0 commit comments

Comments
 (0)