b
This commit is contained in:
+4
-3
@@ -20,9 +20,10 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
||||
changeFrequency,
|
||||
priority,
|
||||
alternates: {
|
||||
languages: Object.fromEntries(
|
||||
langs.map((l) => [l, `${baseUrl}/${l}${path}`])
|
||||
),
|
||||
languages: {
|
||||
'x-default': `${baseUrl}/tr${path}`,
|
||||
...Object.fromEntries(langs.map((l) => [l, `${baseUrl}/${l}${path}`])),
|
||||
},
|
||||
},
|
||||
}))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user