smooth-code / smooth.js

Code driven CMS powered by GraphQL & React.
MIT License
26 stars 10 forks source link

Fix URL to display translation #7

Closed jsfez closed 1 year ago

jsfez commented 5 years ago

Hello, On a Smooth.js website I would like to see french translation version when the URL match this format : www.my-website.com/fr Actually, the french version is displayed only when the last there is "/" at the end of the URL : www.my-website.com/fr/ Could you fix this issue ? Thanks