diff --git a/src/app-ads.txt.ts b/src/app-ads.txt.ts new file mode 100644 index 0000000..b2615fb --- /dev/null +++ b/src/app-ads.txt.ts @@ -0,0 +1,10 @@ +import type { APIRoute } from "astro"; + +const rads = ` +google.com, pub-3050915388015871, DIRECT, f08c47fec0942fa0 +`.trim(); + +export const GET: APIRoute = () => + new Response(rads, { + headers: { "Content-Type": "text/plain" }, + });