mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 11:06:32 +09:00
修复导致 EdgeOne 构建内存盘耗尽的问题
This commit is contained in:
@@ -5,22 +5,7 @@ import { getLocaleMessages, locales, matchLocale } from "@/lib/i18n";
|
||||
export const dynamicParams = false;
|
||||
|
||||
export function generateStaticParams() {
|
||||
return [
|
||||
...locales,
|
||||
"zh-hans",
|
||||
"zh-hant",
|
||||
"zh-CN",
|
||||
"zh-cn",
|
||||
"zh-SG",
|
||||
"zh-sg",
|
||||
"zh-TW",
|
||||
"zh-tw",
|
||||
"zh-HK",
|
||||
"zh-hk",
|
||||
"zh-MO",
|
||||
"zh-mo",
|
||||
"ja",
|
||||
].map((locale) => ({ locale }));
|
||||
return locales.map((locale) => ({ locale }));
|
||||
}
|
||||
|
||||
export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }) {
|
||||
|
||||
Reference in New Issue
Block a user