Make plausible domain public (#420)

This commit is contained in:
Luke Vella 2023-01-20 16:48:08 +00:00 committed by GitHub
parent 8c16966907
commit 7ddea9005c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,13 +22,14 @@ const MyApp: NextPage<AppProps> = ({ Component, pageProps }) => {
if (process.env.NEXT_PUBLIC_MAINTENANCE_MODE === "1") {
return <Maintenance />;
}
return (
<PlausibleProvider
domain="rallly.co"
customDomain={process.env.PLAUSIBLE_DOMAIN}
customDomain={process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN}
trackOutboundLinks={true}
selfHosted={true}
enabled={!!process.env.PLAUSIBLE_DOMAIN}
enabled={!!process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN}
>
<DefaultSeo
openGraph={{