Skip to content

Commit dc8c7d4

Browse files
committed
add force-static to sitemap
1 parent e50a304 commit dc8c7d4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/sitemap.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { MetadataRoute } from "next";
22

3+
export const dynamic = "force-static";
4+
35
export default function sitemap(): MetadataRoute.Sitemap {
46
return [
57
{

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)