With the new version of wappler I have set a redirect to http://www.facebook.com just to test the redirect function. But nothing happens. Or is this something different then a browser redirect?
The redirect in server action is mostly used with different APIs and oauth2 connector, where redirects need to be executed. We will be adding docs about oauth2 in the next few days, so you will see when is it used.
EDIT: but anyway, it should redirect you if it’s used in the server action and if it executes without errors.
Check if your server action returns any errors: Debugging Problems
I did a quick test to redirect to different pages depending on the result of a query - and it seemed to work as expected. I would have thought this could be useful for various situations.