09404db559
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
670 B
JavaScript
20 lines
670 B
JavaScript
export const name = "Follett";
|
|
export const url = "https://northhills.follettdestiny.com";
|
|
|
|
// status.follettsoftware.com has no public API or RSS feed — JS-rendered only.
|
|
// Synthetic check against the district's Destiny instance instead.
|
|
const PROBE_URL = "https://northhills.follettdestiny.com";
|
|
|
|
export async function checkStatus() {
|
|
const res = await fetch(PROBE_URL, { method: "HEAD" });
|
|
|
|
return {
|
|
name,
|
|
status: res.ok ? "operational" : "degraded",
|
|
message: res.ok
|
|
? `Destiny portal responding (HTTP ${res.status}).`
|
|
: `Unexpected response from Destiny portal (HTTP ${res.status}).`,
|
|
lastUpdated: new Date().toISOString(),
|
|
};
|
|
}
|