Skip to content

Commit 1794914

Browse files
committed
Disable adsense code temporarily
1 parent 4f404a3 commit 1794914

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pages/_document.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ const faviconScript = `
5555
onUpdate();
5656
`;
5757

58-
const adSenseScript = `
59-
(adsbygoogle = (window.adsbygoogle || [])).push({});
60-
`;
58+
// const adSenseScript = `
59+
// (adsbygoogle = (window.adsbygoogle || [])).push({});
60+
// `;
6161

6262
export default function Document() {
6363
return (
@@ -112,7 +112,7 @@ export default function Document() {
112112
<script dangerouslySetInnerHTML={{ __html: modeScript }} />
113113
<script dangerouslySetInnerHTML={{ __html: faviconScript }} />
114114
{/* TODO: Configure adsense */}
115-
<script
115+
{/* <script
116116
async
117117
src={`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-${process.env.NEXT_PUBLIC_ADSENSE_ID}`}
118118
crossOrigin="anonymous"
@@ -124,7 +124,7 @@ export default function Document() {
124124
data-ad-client={`ca-pub-${process.env.NEXT_PUBLIC_ADSENSE_ID}`}
125125
data-ad-slot={`${process.env.NEXT_PUBLIC_ADSENSE_ID}`}
126126
data-full-width-responsive="true"
127-
></ins>
127+
></ins> */}
128128
</Head>
129129
<body className="!min-h-screen bg-zinc-50 dark:bg-black">
130130
<Main />

0 commit comments

Comments
 (0)