4 ms·
I am trying to do this too. But I would like to make it work on MacOS as well. The problem there is Safari does not let you connect to localhost over http. So i
by Mulpze15 6y ago
I am trying to do this too. But I would like to make it work on MacOS as well. The problem there is Safari does not let you connect to localhost over http. So if Safari is the preferred browser of the user, you need to convince them to change, which is hard.
Or is there à better way there?
- z3t4 6y agoI can connect to localhost on Safari Version 14.0.1 Make sure you also load index.htm from the same host! (localhost) so you need a little web server in your app that serves that file. One problem is however that there is no easy way to get Safari to run in chromeless/app mode (without browser/url bar etc), which you can do in most other browsers using --app=url flag
- Mulpze15 6y agoThank you, I will try. I was actually trying to mix web app (https:// https:// mydomain.com) and connecting to localhost. And yes, a localhost URL in the bar looks ugly... Trade-offs...
- ludwigvan 6y agoSee https://bugs.webkit.org/show_bug.cgi?id=171934 https://bugs.webkit.org/show_bug.cgi?id=171934 I hope they'll fix it soon.
- Mulpze15 6y agoI may misunderstand the thread, but it looks to me like they don't want to fix it, even though it is the spec, and other browsers do follow it.