jersey
jersey copied to clipboard
Jersey returning 404 on first call when working with react
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