Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
TypeScript
1234567891011export const isAnInvalidTestUrl = (rawUrl: string) => { const url = new URL(rawUrl); const isSelfHostName = url.hostname .split(".") .slice(-2) // ex: any.sub.openstatus.dev .join(".") .includes("openstatus.dev"); // ex: openstatus.dev:80
return isSelfHostName && url.pathname.startsWith("/api/checker/");};