Files

20 lines
643 B
JavaScript

export const name = "Promethean";
export const url = "https://www.prometheanworld.com/";
// No cloud features in use — panels run in standalone mode. No public status
// page exists. Synthetic check confirms basic web reachability only.
const PROBE_URL = "https://www.prometheanworld.com/";
export async function checkStatus() {
const res = await fetch(PROBE_URL, { method: "HEAD" });
return {
name,
status: res.ok ? "operational" : "degraded",
message: res.ok
? `Site responding (HTTP ${res.status}).`
: `Unexpected response from site (HTTP ${res.status}).`,
lastUpdated: new Date().toISOString(),
};
}