You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I don't want to rewrite the url. I just want to have all requests be handled by my react app, the entry point for which is index.html.
What I find now is that if I go directly to a page (let's say /pages/foo), or do a forced refresh of that page, react doesn't load/route properly and returns a 404.
So what rules do I need to have all requests under the specific paths /pages/** and /tags/** all handled by /index.html but without changing the URL?
The text was updated successfully, but these errors were encountered:
Here's the closest example to what I want to do for rewrites that I found:
What I really want to do is have
But I don't want to rewrite the url. I just want to have all requests be handled by my react app, the entry point for which is index.html.
What I find now is that if I go directly to a page (let's say
/pages/foo
), or do a forced refresh of that page, react doesn't load/route properly and returns a 404.So what rules do I need to have all requests under the specific paths
/pages/**
and/tags/**
all handled by/index.html
but without changing the URL?The text was updated successfully, but these errors were encountered: