fix: make sitemap dynamic to avoid DB calls during CI build

This commit is contained in:
Ajax Davis 2025-12-16 12:38:42 +10:00
parent d75c489a68
commit 7bb293b6de

View file

@ -1,6 +1,9 @@
import { prisma } from '@tpmjs/db';
import type { MetadataRoute } from 'next';
// Force dynamic rendering to avoid database calls during build
export const dynamic = 'force-dynamic';
/**
* Dynamic sitemap that includes all pages and tools from the database
* Automatically generated by Next.js at /sitemap.xml