Gate heatmaps report on UMAMI_SELF_RECORD.

This commit is contained in:
Mike Cao committed 2026-05-04 13:29:53 -07:00
1 parent a6b13b71db
commit 12c10c48cd
5 files changed
+24 -7

No files matched your search

@@ -1,7 +1,12 @@
import type { Metadata } from 'next';
import { notFound } from 'next/navigation';
import { HeatmapsPage } from './HeatmapsPage';
export default async function ({ params }: { params: Promise<{ websiteId: string }> }) {
if (!process.env.UMAMI_SELF_RECORD) {
notFound();
}
const { websiteId } = await params;
return <HeatmapsPage websiteId={websiteId} />;