That thread suggests using a _redirects file. If that’s necessary, I’ll try that. But, the docs for redirects seem to suggest that you can instead configure your redirects in your netlify.toml. I might be misunderstanding something, I’m very new to netlify. I was hoping I could keep all my netlify-related configuration in the netlify.toml, so I was hoping to get that working. It seems to have no effect.
Here’s my example:
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
Hi, @maxjacobson, we are working on getting this issue clarified in our documentation.
The issue here occurs when there is a [build.base] directory set. This “restarts” the build process in this base directory.
However, this has a side effect of the netlify.toml file not existing in that new directory. The redirects are not processed when the build restarts there because there is no netlify.toml in the base directory.
Would you be willing to try making a symbolic link to the netlify.toml in the base directory pointing to the copy in the base of the repo? If this doesn’t resolve the issue, please let us know.
Ah, of course you’re right. I forgot that part. Well, I think for now I’m just going to stick with the _redirects file after all, since it’s working very well. I appreciate the help!