Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Jersey returning 404 on first call when working with react #3774

Open
iamankit1995 opened this issue Feb 21, 2018 · 0 comments
Open

Jersey returning 404 on first call when working with react #3774

iamankit1995 opened this issue Feb 21, 2018 · 0 comments

Comments

@iamankit1995
Copy link

I am using jersey backend with react js as the frontend. Since all 404s are redirected to index.html in react, so I added a errorPageErrorHandler for 404 as index.html. Though this solved the problem of page not found, but the status code returned is still 404. Is there any way that I could send 200 with this. Or a way so that I could redirect all non api calls to index.html.

Thanks for your help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant