From 9e45d51ed2ef550f90590cc4b3ae63ee54494a71 Mon Sep 17 00:00:00 2001 From: Aravind Date: Mon, 13 Jul 2026 20:23:53 +0530 Subject: [PATCH] Mark sitemap route as force-static Its content (fixed routes + blog post list) never needs per-request dynamic execution, so pin it explicitly rather than relying on Next's default inference. --- src/app/sitemap.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts index d5d805a..219c488 100644 --- a/src/app/sitemap.ts +++ b/src/app/sitemap.ts @@ -1,6 +1,8 @@ import { MetadataRoute } from "next"; import { blogPosts, SITE_URL } from "@/data/blog"; +export const dynamic = "force-static"; + export default function sitemap(): MetadataRoute.Sitemap { const staticRoutes = [ "",