Back

Version 9

10/13/2023
const untitled_turquoiseCobra = (async () => {
async function sendLarkMessage(message) {
return fetch(@me.secrets.larkTensorRobotUrl, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
msg_type: "text",
content: {
text: message,
},
}),
}).then((resp) => resp.json());
}
async function checkTensorArtSSRHelth() {
const response = await fetch("https://tensor.art");
if (response.status == 200) {
console.log("error");
await sendLarkMessage(`Tensor.art status: ${response.status}`);
}
}
await checkTensorArtSSRHelth();
})();
Updated: December 20, 2023