wsgi: allow redirect to any origin
It will fix the issue in reForis with a router redirecting to a new router's LAN address during network-restart
.
For now, requests are blocked by the CORS policy of the browser. So, in other words, the JS from the old address can't make an XMLHttpRequest
to the new one.
Edited by Aleksandr Gumroian