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" ||