Skip to content

Commit

Permalink
Delete old app-ads.txt file and add new implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
piro-hiroki committed Mar 19, 2024
1 parent 94cebf2 commit dde320a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/app-ads.txt

This file was deleted.

10 changes: 10 additions & 0 deletions src/app-ads.txt .ts
Original file line number Diff line number Diff line change
@@ -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" },
});

0 comments on commit dde320a

Please sign in to comment.