createRedirect broke gatsby-plugin-netlify redirects on 2.32.7
See original GitHub issueHi,
newly merged PR and published as version 2.32.7 broke gatsby-plugin-netlify redirects implementation. The release (https://github.com/gatsbyjs/gatsby/pull/29742) introduced a new prop ignoreCase
which is passed to the build output of _redirects
file on gatsby-plugin-netlify https://github.com/gatsbyjs/gatsby/blob/e79fc6b8b0da2bb5aaec8e0ff06073af9c466401/packages/gatsby-plugin-netlify/src/create-redirects.js#L46
I am not sure which way is right: introducing a new prop which with default value of false instead of undefined or the way gatsby-plugin-netlify including all the props to the output.
The result now:
_redirects
file outputs ignoreCase=false by default, which in turn is not recognized on Netlify and therefore the redirects are not working.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:11 (4 by maintainers)
Top Results From Across the Web
gatsby-plugin-netlify-redirect
Redirects. You can create redirects using the createRedirect action. In addition to the options provided by the Gatsby API, you can pass these...
Read more >Redirect rules from months no longer parsed the same way? - Support
The redirect rules were consistently the same and working since las… ... e.g. createRedirect broke gatsby-plugin-netlify redirects on 2.32.7 · Issue #29779 ...
Read more >How To Add Netlify Redirects To A Gatsby Site
Option 2 — Adding redirects via createRedirect action. Make sure you have installed gatsby-plugin-netlify (see here).
Read more >gatsby/CHANGELOG.md - UNPKG
4060, - **gatsby-plugin-netlify:** Allow status codes in redirects ([#11255](https://github.com/gatsbyjs/gatsby/issues/11255)) ...
Read more >gatsby-plugin-netlify | Yarn - Package Manager
This plugin adds support for Gatsby SSR and DSG on Netlify, and handles Gatsby redirects and headers. The plugin works by automatically generating...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Following up here, did this fix go out? We’re running into the same issue and had to revert to restore our redirects functionality. Upgraded to the latest version of
gatsby-plugin-netlify
but still seeing the issue.We can confirm the same problem. Thanks for looking into it!