mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
more locale updates
This commit is contained in:
@@ -71,7 +71,7 @@ const noto = Noto_Serif_JP({
|
||||
});
|
||||
|
||||
export function generateStaticParams() {
|
||||
return [{ locale: 'en' }, { locale: 'ja' }];
|
||||
return [{ locale: 'ja' }, { locale: 'en' }];
|
||||
}
|
||||
|
||||
export default async function RootLayout({
|
||||
|
@@ -1,6 +1,7 @@
|
||||
import OpengraphImage from 'components/opengraph-image';
|
||||
|
||||
export const runtime = 'edge';
|
||||
export const revalidate = 300; // 5 minutes in seconds
|
||||
|
||||
export default async function Image() {
|
||||
return await OpengraphImage();
|
||||
|
Reference in New Issue
Block a user