feat: Proxy Umami analytics script and API calls through Next.js rewrites.

This commit is contained in:
2026-02-08 16:57:43 +00:00
parent 4ec9355510
commit a4ae8c5a72
3 changed files with 10 additions and 2 deletions

View File

@@ -25,8 +25,9 @@ export default function RootLayout({
<head>
<Script
defer
src="https://umami.mati.ss/script.js"
src="/stats/script.js"
data-website-id="40b6b47d-9d1f-47ff-91cf-151c98637945"
data-host-url="/stats"
strategy="afterInteractive"
/>
</head>