Restore videoreg public guide site with static isolated deployment
Production container deploy / production (push) Failing after 2m34s

This commit is contained in:
huncode committed 2026-10-26 14:26:13 +03:00
1 parent 2ce58fcbc0
commit 53e4f06486
35 files changed
+599 -355

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { notFound } from 'next/navigation';
import { dashcamProducts } from '@/entities/dashcam/model/data';
import { BestDashcamsPage } from '@/shared/ui/templates/BestDashcamsPage';
export const dynamicParams = false;
export const revalidate = 3600;
export function generateStaticParams() {
return [{ devRoot: '_dev' }];
}
type ShowcasePageProps = {
params: Promise<{
devRoot: string;
}>;
};
export default async function ShowcasePage({ params }: ShowcasePageProps) {
const { devRoot } = await params;
if (devRoot !== '_dev') {
notFound();
}
return <BestDashcamsPage products={dashcamProducts} />;
}