From 024d6d578e1f8952b64d7cba02bba54b309910f7 Mon Sep 17 00:00:00 2001 From: piro-hiroki Date: Wed, 20 Mar 2024 10:31:42 +0900 Subject: [PATCH] remove space in filename --- src/app-ads.txt.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/app-ads.txt.ts 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" }, + });