1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:06:36 -04:00

don't let search engines index branch/deploy previews

This commit is contained in:
2022-01-03 21:17:33 -05:00
parent 84edea4723
commit 206bbd278f

View File

@ -157,11 +157,10 @@ const App = ({ Component, pageProps }: AppProps) => {
name: "msvalidate.01",
content: "164551986DA47F7F6FC0D21A93FFFCA6",
},
{
name: "twitter:dnt",
content: "on",
},
]}
// don't let search engines index branch/deploy previews
dangerouslySetAllPagesToNoIndex={process.env.NEXT_PUBLIC_VERCEL_ENV !== "production"}
dangerouslySetAllPagesToNoFollow={process.env.NEXT_PUBLIC_VERCEL_ENV !== "production"}
/>
<SocialProfileJsonLd
type="Person"