Skip to content

Commit 5a7b6e4

Browse files
authored
update verification (#112)
* update verification * update verification
1 parent 4deaa0d commit 5a7b6e4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

projects/fastgpt/app/GoogleAnalytics.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ const GoogleAnalytics = () => {
2828
/>
2929
</>
3030
)}
31-
{gtag.GA_VERIFICATION_ID && (
32-
<meta name="google-site-verification" content={gtag.GA_VERIFICATION_ID} />
33-
)}
31+
3432
</>
3533
);
3634
};

projects/fastgpt/app/layout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ export const metadata = {
3232
other: {
3333
'baidu-site-verification': process.env.NEXT_PUBLIC_BAIDU_KEY
3434
? process.env.NEXT_PUBLIC_BAIDU_KEY
35+
: '',
36+
'google-site-verification': process.env.NEXT_PUBLIC_GOOGLE_VERIFICATION_ID
37+
? process.env.NEXT_PUBLIC_GOOGLE_VERIFICATION_ID
3538
: ''
3639
}
3740
};

0 commit comments

Comments
 (0)