Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: play checker available regions (#1455)
Maximilian Kaske2bb6d089cf23
diff --git a/apps/web/src/app/(pages)/(content)/play/checker/api/route.ts b/apps/web/src/app/(pages)/(content)/play/checker/api/route.tsindex c68d7ddba..a9ea4bb70 100644--- a/apps/web/src/app/(pages)/(content)/play/checker/api/route.ts+++ b/apps/web/src/app/(pages)/(content)/play/checker/api/route.ts@@ -6,7 +6,7 @@ import {} from "@/components/ping-response-analysis/utils";import { iteratorToStream, yieldMany } from "@/lib/stream";import { wait } from "@/lib/utils";-import { monitorRegions } from "@openstatus/db/src/schema/constants";+import { AVAILABLE_REGIONS } from "@openstatus/regions";import { mockCheckRegion } from "./mock";export const runtime = "edge";@@ -23,7 +23,7 @@ async function* makeIterator({id: string;}) {// Create an array to store all the promises- const promises = monitorRegions.map(async (region, index) => {+ const promises = AVAILABLE_REGIONS.map(async (region, index) => {try {// Perform the fetch operationconst check =