I deployed my React app but cannot directly type any react-router url paths (like (^◡^✿) hello!) or else I get the 404 page not found error screen.
-
I already created a
_redirectsfile containing/* /index.html 200that lives inside my public directory -
I already created a
netlify.tomlwith a special command that I thought could fix this_redirectsissue:
[build]
command = "npm run build && cp _redirects dist/_redirects"
publish = "dist"
[[redirects]]
from = "https://christinetrac.dev"
to = "https://www.christinetrac.dev"
None of these things worked, and I still get an error page. Any idea how I can fix this?
This is my deploy log: Netlify App

