export default { fetch(req) { const policy = "version: STSv1\nmode: testing\nmx: mx.latexio.com\nmax_age: 86400\n"; if (new URL(req.url).pathname === "/.well-known/mta-sts.txt") { return new Response(policy, { headers: { "content-type": "text/plain" } }); } return new Response("not found", { status: 404 }); }, };