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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Trying to used GCDWebserver for a React SPA. To handle the react router I would like three routes ("/" "route1/12343", "route2/23453") to all point to the bundled index.html. I have tried using addHandler and GCDWebServerDataResponse with redirects to address this but I lose old url when it redirects.
Is there anyway to do the redirect with a 200 status code instead?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to used GCDWebserver for a React SPA. To handle the react router I would like three routes ("/" "route1/12343", "route2/23453") to all point to the bundled
index.html
. I have tried usingaddHandler
and GCDWebServerDataResponse with redirects to address this but I lose old url when it redirects.Is there anyway to do the redirect with a 200 status code instead?
The text was updated successfully, but these errors were encountered: