Skip to content

Commit

Permalink
chore: add google search console meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
candicecz committed May 13, 2024
1 parent 627af67 commit 72f5842
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
BASE_URL=https://data.niaid.nih.gov
NEXT_PUBLIC_API_URL=https://api.data.niaid.nih.gov/v1
NEXT_PUBLIC_GOOGLE_ANALYTICS=GTM-KQVFBVG
NEXT_PUBLIC_STRAPI_API_URL=https://data.niaid.nih.gov/strapi
NEXT_PUBLIC_GOOGLE_CONSOLE=lUp4cuWRTBu9yH66ob-ipYxOhoCA-YF4uM2gnHH0XQg
NEXT_PUBLIC_STRAPI_API_URL=https://data.niaid.nih.gov/strapi
5 changes: 5 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ function App({ Component, pageProps }: AppProps) {
name='viewport'
content='width=device-width, initial-scale=1.0'
></meta>
{/* Leave for google search console */}
<meta
name='google-site-verification'
content={process.env.NEXT_PUBLIC_GOOGLE_CONSOLE}
/>
</Head>
<style jsx global>
{`
Expand Down

0 comments on commit 72f5842

Please sign in to comment.