microapps / gatsby-plugin-react-i18next

Easily translate your Gatsby website into multiple languages
MIT License
122 stars 72 forks source link

Update siteUrl in docs #121

Open henobi opened 2 years ago

henobi commented 2 years ago

Hi,

I noticed that in the examples the siteUrl does not contain a backslash at the end: https://github.com/microapps/gatsby-plugin-react-i18next/blob/master/example/gatsby-config.js#L8

But in the readme example that siteUrl contains a backslash: https://github.com/microapps/gatsby-plugin-react-i18next/blob/master/README.md?plain=1#L68

As far as I know there should not be a backslash at the end because it can result in urls like http://example.com//en/demo

sklawren commented 2 years ago

Fixed in the upcoming v2 release https://github.com/microapps/gatsby-plugin-react-i18next/pull/136