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 8bfd0f2 commit 37d2c8cCopy full SHA for 37d2c8c
apps/docs/src/lib/metadata.ts
@@ -1,4 +1,4 @@
1
-import { SITES } from '@next-i18n/const';
+import { PENDING_SITES, SITES } from '@next-i18n/const';
2
import type { Metadata } from 'next/types';
3
4
export function createMetadata(
@@ -51,5 +51,5 @@ export const baseUrl =
51
? new URL('http://localhost:3000')
52
: new URL(
53
// biome-ignore lint/style/noNonNullAssertion: <explanation>
54
- SITES[process.env.LOCALE!],
+ SITES[process.env.LOCALE!] || PENDING_SITES[process.env.LOCALE!],
55
);
0 commit comments