2 ms·
I can see three solutions. 1. Use HTTP. It's not forbidden yet. I think it's the most compatible solution. 2. Use http://127.0.0.1 http://127.0.0.1. It seems
by vbezhenar 9y ago
I can see three solutions.
1. Use HTTP. It's not forbidden yet. I think it's the most compatible solution.
2. Use http://127.0.0.1 http://127.0.0.1. It seems that this is standards-compatible solution, but browser support is not good enough, so if you can dictate browser choice for your user, it's the best future-proof solution.
3. Use your server as a proxy. When your localhost application wants to talk to your site, it talks to server and server retransmits this data to the browser. Quite cumbersome solution IMO, but should work, unless you must be able to work offline.