more locale updates

This commit is contained in:
Sol Irvine
2023-10-09 07:34:59 +09:00
parent bc3db70bd9
commit 154bda33fe
3 changed files with 4 additions and 3 deletions

View File

@@ -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({

View File

@@ -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();