Skip to content

Commit 866e64d

Browse files
committed
fixed ads issue
1 parent 8e088fa commit 866e64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/ads.txt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { GOOGLE_CONFIG } from "@/utils/google-config";
22

33
export async function GET() {
4-
const adsTxtContent = `google.com, ${GOOGLE_CONFIG.ADSENSE_CLIENT_ID.replace('ca-pub-', '')}, DIRECT, f08c47fec0942fa0
4+
const adsTxtContent = `google.com, pub-${GOOGLE_CONFIG.ADSENSE_CLIENT_ID.replace('ca-pub-', '')}, DIRECT, f08c47fec0942fa0
55
`;
66

77
return new Response(adsTxtContent, {

0 commit comments

Comments
 (0)