I want to send the user to an external page using a server-side action.
I don’t want to fetch a URL or do a background request. Instead, I want the user to be redirected to the external URL.
window.location.href = "https://www.google.com"; that works on a client-side action does not work server-side.
Is there a specific Node.js module or code snippet I can use for this?
I’ve tried searching on stackexchange.com etc but can’t find anything that works.