const TESLA_PUBLIC_KEY = `-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzcxLqX0NKxVn+qSt1falzpSjInY+ OMnev6fVhK1PFir7t4GNYrpfx3n+aHQuRyRPQ0elnub19ux/m6ZrUNV9og== -----END PUBLIC KEY-----`; export default { async fetch(request) { // This returns the key for LITERALLY everything on this subdomain. // It ignores paths, headers, and trailing slashes. return new Response(TESLA_PUBLIC_KEY, { status: 200, headers: { "Content-Type": "text/plain", "Cache-Control": "no-store", "Access-Control-Allow-Origin": "*" }, }); }, };