From 20b356e2993fd476e225bcf58965bbdb3e784169 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 24 May 2026 14:03:56 +0000 Subject: [PATCH] fix: redirect mta-sts subdomain root to dmarc.mx instead of 404 Replaces the catch-all 404 in mta-sts-worker with a 301 redirect to https://dmarc.mx/ so Googlebot stops recording it as a not-found URL. The /.well-known/mta-sts.txt path is unaffected. Closes #363 https://claude.ai/code/session_01LwHpGrjYRwBmyoMR51JAXM --- mta-sts-worker/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mta-sts-worker/src/index.ts b/mta-sts-worker/src/index.ts index ac3d65d..e8573f6 100644 --- a/mta-sts-worker/src/index.ts +++ b/mta-sts-worker/src/index.ts @@ -20,6 +20,6 @@ export default { }); } - return new Response("Not found", { status: 404 }); + return Response.redirect("https://dmarc.mx/", 301); }, };