fix: gracefaul fallback + force-dynamic for build

This commit is contained in:
2026-04-28 07:14:25 +08:00
parent d375112c8e
commit 37e51f4d48
9 changed files with 62 additions and 27 deletions
+3
View File
@@ -15,6 +15,9 @@ import { and, desc, eq, sql } from "drizzle-orm"
import { isSyncStale, syncSteamGame } from "@/lib/steam/sync"
import { GamePageClient } from "./game-page-client"
// This page needs live data — skip static generation at build time
export const dynamic = "force-dynamic"
async function resolveGame(id: string) {
const isNumeric = /^\d+$/.test(id)
let game