my own status page
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: change service url

+7 -2
+6 -1
src/index.ts
··· 69 69 }); 70 70 } 71 71 72 - const response = await handleRequest(request, env); 72 + let response: Response; 73 + try { 74 + response = await handleRequest(request, env); 75 + } catch { 76 + response = Response.json({ error: "internal server error" }, { status: 500 }); 77 + } 73 78 const corsResponse = new Response(response.body, response); 74 79 corsResponse.headers.set("Access-Control-Allow-Origin", "*"); 75 80 return corsResponse;
+1 -1
src/manifest.ts
··· 1 1 import type { Env, ServicesManifest } from "./types"; 2 2 3 - const MANIFEST_URL = "https://infra.dunkirk.sh/services.json"; 3 + const MANIFEST_URL = "https://dots.dunkirk.sh/services.json"; 4 4 const KV_KEY = "services_manifest"; 5 5 const TTL_SECONDS = 300; 6 6