Openstatus www.openstatus.dev

chore: play checker available regions (#1455)

authored by

Maximilian Kaske and committed by
GitHub
2bb6d089 14601d33

+2 -2
+2 -2
apps/web/src/app/(pages)/(content)/play/checker/api/route.ts
··· 6 6 } from "@/components/ping-response-analysis/utils"; 7 7 import { iteratorToStream, yieldMany } from "@/lib/stream"; 8 8 import { wait } from "@/lib/utils"; 9 - import { monitorRegions } from "@openstatus/db/src/schema/constants"; 9 + import { AVAILABLE_REGIONS } from "@openstatus/regions"; 10 10 import { mockCheckRegion } from "./mock"; 11 11 12 12 export const runtime = "edge"; ··· 23 23 id: string; 24 24 }) { 25 25 // Create an array to store all the promises 26 - const promises = monitorRegions.map(async (region, index) => { 26 + const promises = AVAILABLE_REGIONS.map(async (region, index) => { 27 27 try { 28 28 // Perform the fetch operation 29 29 const check =