#Return redirect("/newroute") from ActionFunction works locally but not when deployed
1 messages · Page 1 of 1 (latest)
it should work when deployed, try to create a reproduction repo
I can't re-create this specific environment because this is a production app, but if you're saying I'm doing it the right way, I'll check with backend because it might be an internal issue
in the future though, is there a way to do it within the JS? redirect doesn't work outside of loader/action right?
you cna use useNavigate to get a navigate function, but it should work