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:
@ -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"
|
||||
|
Reference in New Issue
Block a user