We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f385829 commit 1a3258fCopy full SHA for 1a3258f
apps/website/app/[locale]/blog/[slug]/page.tsx
@@ -37,7 +37,9 @@ export async function generateMetadata(
37
38
const ogUrl = new URL(
39
`/${locale}/api/og`,
40
- process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000",
+ process.env.NODE_ENV === "production"
41
+ ? "https://dokploy.com"
42
+ : "http://localhost:3000",
43
);
44
ogUrl.searchParams.set("slug", slug);
45
0 commit comments