From 144240e278214a6932db1e53a8080511fb5ad70f Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Mon, 13 Apr 2026 20:13:04 +0100 Subject: [PATCH] fix: cache control on index page? --- src/app/page.tsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ff7d46a..01b1625 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,15 +1,12 @@ import { Metadata } from "next"; -import { redirect } from "next/navigation"; import { Suspense } from "react"; import { Icon } from "@iconify/react"; -import { auth } from "@/lib/auth"; -import { prisma } from "@/lib/prisma"; - import Countdown from "@/components/countdown"; import MiiList from "@/components/mii/list"; import Skeleton from "@/components/mii/list/skeleton"; +export const dynamic = "force-static"; export const revalidate = 60; interface Props { @@ -38,19 +35,8 @@ export async function generateMetadata({ searchParams }: Props): Promise

{tags ? `Miis tagged with '${tags}' - TomodachiShare` : "TomodachiShare - index mii list"}