1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-19 08:15:28 -04:00

re-enable comments on non-post pages

This commit is contained in:
2025-05-18 14:38:10 -04:00
parent 3f56632313
commit a9d83768ca
19 changed files with 211 additions and 83 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { NextResponse } from "next/server";
import { unstable_cache as cache } from "next/cache";
import { getViews as _getViews } from "@/lib/server/views";
import { getViews as _getViews } from "@/lib/views";
const getViews = cache(_getViews, undefined, {
revalidate: 300, // 5 minutes