From 56c89a9637dd6f2dd85363f243efd14310898610 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Tue, 1 Oct 2024 00:03:59 +0800 Subject: [PATCH] fix: environment variable errors under docker --- app/[locale]/layout.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 2410b0868..8bc866fd3 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -37,8 +37,6 @@ export const viewport: Viewport = { userScalable: false, }; -export const dynamic = "force-static"; - export async function generateStaticParams() { return locales.map((locale) => ({ locale })); }