Make heatmaps report always available.

This commit is contained in:
Mike Cao committed 2026-05-05 10:43:39 -07:00
1 parent 12c10c48cd
commit c7f71e5758
5 files changed
+7 -24

No files matched your search

@@ -1,12 +1,7 @@
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} />;