I have a react client and I would like to be able to redirect from the express backend.
I've looked through a couple of posts and putting redirect into the body of the response didn't work out. If possible it would be great to redirect on the backend response to the redirect inside the response.
I could maybe replace history with the redirect url inside the response, but I am not sure if that was going to be a good solution ...