Toml based redirects not being detected anymore

Our site is using 2 redirects in a toml file. They were working for several months and now suddenly they are no longer being detected by the netlify build. Nothing related to redirects have changed in recent history so it is unclear why this is now broken. Our site is in a sub directory web-application and at the same time the redirects stopped working I was forced to update the publish directory from web-application\publish to simply publish so maybe this is somehow related to the mono-repo updates??? (total shot in the dark).

We have been forced to pause our production app from being published until this is resolved. Maybe we should be using the redirects file instead of the toml file.

Here is a link to the toml file:

Build where redirect worked:

https://app.netlify.com/sites/salad-web-app/deploys/5dd877b2feb5195a54f94eb4

Build where redirect stopped working:

https://app.netlify.com/sites/salad-web-app/deploys/5de6ed5302492f000816adf1

Thanks for the help!
Daniel

Hi, @dsarfati, and welcome to our Netlify community site.

It looks like the build image version is different in those two deploys.

Working:

4:05:22 PM: build-image tag: v2.8.2

Not working:

3:18:45 PM: build-image tag: v3.3.5

There are two possible solutions:

  • put a copy of netlify.toml in the base directory (which is packages/web-app)

or:

  • put the redirect rules into a _redirects file instead and put that file in packages/web-app/build

Would you be willing to please test one of these solutions and let us know if it resolves the issue or not?

1 Like