When following a link, replace "localhost" with hostname
If I type "curl http://localhost," and tap the link, I don't want to access localhost on my device (which doesn't exist), but what the server sees as localhost, aka the server itself. I want localhost to be replaced with the hostname of the server.
This is your device's problem, not Termius's. Plus, this was never standard behavior in cURL and ssh. Your localhost via ssh was always that of the server, not the client. Are you sure that whatever you're trying to fetch via cURL is running? Perhaps restart that server script.