From 2b6de14064b5cebb87ca51a4c4586f7daafce776 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 2 Apr 2026 09:31:16 +0000 Subject: [PATCH] feat: add ads.txt route handler for Google AdSense --- apps/web/src/app/ads.txt/route.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/web/src/app/ads.txt/route.ts diff --git a/apps/web/src/app/ads.txt/route.ts b/apps/web/src/app/ads.txt/route.ts new file mode 100644 index 0000000..cabb89c --- /dev/null +++ b/apps/web/src/app/ads.txt/route.ts @@ -0,0 +1,8 @@ +export async function GET() { + const content = "google.com, pub-9505789508299290, DIRECT, f08c47fec0942fa0"; + return new Response(content, { + headers: { + "Content-Type": "text/plain", + }, + }); +}