Skip to content

Commit ee513cc

Browse files
pragmaticpatgatsbybot
and
gatsbybot
authored
chore(docs): Update trailingSlash default wording (#34898)
Co-authored-by: gatsbybot <[email protected]>
1 parent 3a9f429 commit ee513cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/config-files/gatsby-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Configures the creation of URLs and whether to remove, append, or ignore trailin
172172
- `never`: Remove all trailing slashes on each URL, e.g. `/x/` to `/x`.
173173
- `ignore`: Don't automatically modify the URL
174174

175-
Until Gatsby v4 it'll be set to `legacy` by default, in Gatsby v5 the default mode will be `always`. Gatsby Cloud automatically handles and supports the `trailingSlash` option, any other hosting provider (or if you're managing this on your own) should follow the "Redirects, and expected behavior from the hosting provider" section on the [initial RFC](https://github.com/gatsbyjs/gatsby/discussions/34205).
175+
The default setting for this option is `legacy` in order to preserve existing behavior for current users. In Gatsby v5 the default mode will be `always`. Gatsby Cloud automatically handles and supports the `trailingSlash` option. Alternate hosting providers (or if you're managing this on your own) should follow the "Redirects, and expected behavior from the hosting provider" section on the [initial RFC](https://github.com/gatsbyjs/gatsby/discussions/34205).
176176

177177
## polyfill
178178

0 commit comments

Comments
 (0)