This commit is contained in:
Adam Cohen Hillel 2025-04-18 00:13:50 +01:00
parent 018ca3168b
commit 74ea5de372
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,17 @@
// This file configures Next.js options for the personalAccount route group
// https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config
// Disable static rendering completely for all personalAccount routes
export const dynamic = 'force-dynamic';
// Disable static generation for all routes under this group
export const generateStaticParams = () => {
return [];
};
// Disable optimization attempts
export const preferredRegion = 'auto';
export const revalidate = 0;
// Dynamically generate dynamic params
export const dynamicParams = true;

View File

@ -0,0 +1,17 @@
// This file configures Next.js options for the entire dashboard route group
// https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config
// Disable static rendering completely for all dashboard routes
export const dynamic = 'force-dynamic';
// Disable static generation for all routes under dashboard
export const generateStaticParams = () => {
return [];
};
// Disable optimization attempts
export const preferredRegion = 'auto';
export const revalidate = 0;
// Dynamically generate dynamic params
export const dynamicParams = true;