Add Gitea remote info to CLAUDE.md; implement vendor integrations and remove FortiGate modules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,16 @@ const HEADERS = {
|
||||
export async function checkStatus() {
|
||||
const res = await fetch(PROBE_URL, { method: "GET", headers: HEADERS });
|
||||
|
||||
// Cloudflare managed challenge — JS required, not a real error
|
||||
if (res.headers.get("cf-mitigated") === "challenge") {
|
||||
return {
|
||||
name,
|
||||
status: "unknown",
|
||||
message: "Cloudflare challenge blocked synthetic check — status cannot be determined.",
|
||||
lastUpdated: new Date().toISOString(),
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
name,
|
||||
status: res.ok ? "operational" : "degraded",
|
||||
|
||||
Reference in New Issue
Block a user