diff options
Diffstat (limited to 'docs/src/pages/index.astro')
-rw-r--r-- | docs/src/pages/index.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index 2b090ca81..eaa67e524 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -6,7 +6,7 @@ import Layout from '../layouts/MainLayout.astro'; // This is some wip redirect code based on the browser language. // A vercel.json redirect is enforced in production, so no user should ever see this page. // Remove the vercel.json redirect when this is ready. - const KNOWN_LANGUAGES = ['de','en','es','fi','nl','pt-br','zh-CN','zh-TW']; + const KNOWN_LANGUAGES = ['bg', 'de','en','es','fi','nl','pt-br','zh-CN','zh-TW']; let newLangWithRegion = (window.navigator.userLanguage || window.navigator.language || 'en-US').substr(0, 5); let newLang = newLangWithRegion.substr(0, 2); if (newLang === 'en') { @@ -18,4 +18,4 @@ import Layout from '../layouts/MainLayout.astro'; } else { window.location.pathname = '/getting-started'; } -</script>
\ No newline at end of file +</script> |