From 909a4163119911fdcccd2f4783655676e2a353f1 Mon Sep 17 00:00:00 2001 From: Calum Muir Date: Mon, 22 Dec 2025 14:17:19 +0000 Subject: [PATCH] Add worker ping endpoint --- src/worker.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/worker.ts b/src/worker.ts index 0a82cc2..522fd80 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -163,6 +163,9 @@ const handleContact = async (request: Request, env: Env) => { export default { async fetch(request: Request, env: Env): Promise { const url = new URL(request.url); + if (url.pathname === "/__worker_ping") { + return jsonResponse({ ok: true }); + } const contactPath = url.pathname; const isContact = contactPath === "/api/contact" ||