Files

21 lines
640 B
JavaScript

export const name = "EdInsight";
export const url = "https://myedinsight.com";
// TODO: No public status page found for Harris Education Solutions. Synthetic
// check only — investigate whether Harris offers a status API or webhook feed.
const PROBE_URL = "https://myedinsight.com";
export async function checkStatus() {
const res = await fetch(PROBE_URL, { method: "HEAD" });
return {
name,
status: res.ok ? "operational" : "degraded",
message: res.ok
? `Portal responding (HTTP ${res.status}).`
: `Unexpected response from portal (HTTP ${res.status}).`,
lastUpdated: new Date().toISOString(),
};
}