Skip to content

Commit 081928b

Browse files
committed
bump: OpenNext update
1 parent 12ed8db commit 081928b

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

bun.lockb

-4.49 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"daisyui": "^5.0.0",
2626
"motion": "^11.15.0",
2727
"next": "^15.3.2",
28-
"next-intl": "^4.0.2",
28+
"next-intl": "^4.1.0",
2929
"next-themes": "^0.4.4",
3030
"postcss": "^8.5.3",
3131
"posthog-js": "^1.203.1",
@@ -43,6 +43,7 @@
4343
},
4444
"devDependencies": {
4545
"@biomejs/biome": "^1.5.1",
46+
"@opennextjs/aws": "^3.6.4",
4647
"@types/node": "^20",
4748
"@types/react": "^18",
4849
"@types/react-dom": "^18",

src/app/[locale]/layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import localFont from "next/font/local";
33
import { CSPostHogProvider } from "@/components/posthog";
44
import { Toaster } from "sonner";
55
import { NextIntlClientProvider } from "next-intl";
6-
import { getMessages } from "next-intl/server";
6+
import { getMessages, setRequestLocale } from "next-intl/server";
77
import { notFound } from "next/navigation";
88
import { routing } from "@/i18n/routing";
99
import { ReactNode } from "react";
@@ -15,7 +15,7 @@ export const metadata: Metadata = {
1515
title: "MikanDev",
1616
description: "We make cool stuff to make life easier 🍊",
1717
openGraph: {
18-
images: ["https://mikn.dev/og-homepage.png"],
18+
images: ["https://mikn.dev/img/og-homepage.png"],
1919
},
2020
};
2121

@@ -39,6 +39,7 @@ export default async function LocaleLayout({
3939
notFound();
4040
}
4141

42+
setRequestLocale(locale);
4243
// Providing all messages to the client
4344
// side is the easiest way to get started
4445
const messages = await getMessages();
File renamed without changes.

0 commit comments

Comments
 (0)