Respect Gatsby's `trailingSlash` option
bicstone opened this issue · 2 comments
bicstone commented
trailingSlash
option has been added by gatsby.
https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/#trailingslash
gatsbyjs/gatsby#34205
The current behavior is always add trailing slashes to each URL regardless of the trailingSlash
option.
gatsby-plugin-react-i18next/src/Helmet.tsx
Lines 7 to 10 in 10d2a08
Is it possible to be able to respect Gatsby's trailingSlash
option and control the handling of trailing slashes?
sklawren commented
You'll have to add trailingSlash
yourself to this plugin's options to match what you set it to in the gatsby config, but it will work.