Skip to content

Commit

Permalink
chore(ssr): let search engines index German locale (#12210)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Nov 29, 2024
1 parent 50b72fc commit 5340802
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ssr/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ export default function render(
// Open Graph protocol expects `language_TERRITORY` format.
const ogLocale = locale.replace("-", "_");

if (locale === "de") {
// Prevent experimental German locale from being indexed.
onlyFollow = true;
}
const robotsContent =
!ALWAYS_ALLOW_ROBOTS || (doc && doc.noIndexing) || noIndexing
? "noindex, nofollow"
Expand Down

0 comments on commit 5340802

Please sign in to comment.