mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 10:59:16 +01:00
fix: 🐛 Fix incorrect Plausible loading
This commit is contained in:
parent
e754c2ff6a
commit
c6d694151d
4 changed files with 6 additions and 8 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue