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 1276506 commit eb008fcCopy full SHA for eb008fc
pages/docs/index.js
@@ -97,9 +97,9 @@ const Home = (props) => {
97
>
98
<div>
99
{locales.map((all_languages, index) => (
100
- <Link href={`${process.env.URLprefix}${locales[index].short}/docs`}>
+ <Link href={`${`${process.env.URLprefix}${locales[index].short}`.replace(/\/(.*?)\/(.*?)/, '/$2')}/docs`}>
101
<Fragment key={index}>
102
103
<div className="home-language-switcher-item">
104
<span className="home-language-link">
105
{all_languages?.name}
0 commit comments