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

chore: Next.js 15 → 16 (#2503)

This commit is contained in:
2025-11-22 17:11:42 -05:00
committed by GitHub
parent 19960ca2b0
commit 8a09aa918c
27 changed files with 2457 additions and 2304 deletions
+1 -7
View File
@@ -1,11 +1,5 @@
import { NextResponse } from "next/server";
import { unstable_cache as cache } from "next/cache";
import { getViewCounts as _getViewCounts } from "@/lib/views";
const getViewCounts = cache(_getViewCounts, undefined, {
revalidate: 300, // 5 minutes
tags: ["hits"],
});
import { getViewCounts } from "@/lib/views";
export const GET = async (): Promise<
NextResponse<{