Skip to content

Commit 5531230

Browse files
committed
Add adsense check code
1 parent d442f3e commit 5531230

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

api/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ async function app(req: Request): Promise<Response> {
6464
if (username === null) {
6565
const [base] = req.url.split("?");
6666
const error = new Error400(
67-
`<section>
67+
`
68+
<head>
69+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7387527627218970" crossorigin="anonymous"></script>
70+
</head>
71+
<section>
6872
<div>
6973
<h2>"username" is a required query parameter</h2>
7074
<p>The URL should look like

0 commit comments

Comments
 (0)