mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 23:20:51 -05:00
stricter robots.txt
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import Script from "next/script";
|
||||
|
||||
const Analytics = () => {
|
||||
if (!process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID || process.env.NEXT_PUBLIC_VERCEL_ENV !== "production") {
|
||||
if (process.env.NEXT_PUBLIC_VERCEL_ENV !== "production") {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user