fix: 🐛 Fix incorrect Plausible loading

This commit is contained in:
Jesse Wierzbinski 2025-01-01 01:10:18 +01:00
parent e754c2ff6a
commit c6d694151d
No known key found for this signature in database
4 changed files with 6 additions and 8 deletions

View file

@ -1,7 +1,6 @@
import glob from "fast-glob";
import type { Metadata } from "next";
import PlausibleProvider from "next-plausible";
import { Layout } from "../components/Layout";
import type { Section } from "../components/SectionProvider";
import { Providers } from "./providers";
@ -47,12 +46,11 @@ export default async function RootLayout({
<html lang="en" className="h-full" suppressHydrationWarning={true}>
<head>
<link rel="icon" href="/favicon.png" type="image/png" />
<PlausibleProvider
domain="logs.cpluspatch.com"
customDomain="https://logs.cpluspatch.com"
trackOutboundLinks={true}
trackLocalhost={false}
selfHosted={true}
<script
defer={true}
data-api="https://logs.cpluspatch.com/api/event"
data-domain="versia.pub"
src="/pl.js"
/>
</head>
<body className="flex min-h-full bg-white antialiased dark:bg-zinc-900">