However, this only really works with the app that's deployed to GitHub Pages. That's because the development server and tile server proxy aren't being served over HTTPS. The browser is okay with this when the server is localhost, but when it's a different device on the network, it refuses to allow Geolocation API calls on a non-HTTPS pages. If we serve the page with HTTPS, then the Fetch API will fail for the tile server proxy, because it is unencrypted.
Would a few self-signed certificates allow us to run a development server on a laptop and access from a different device (like a phone) on the same local network?
When developing/testing, it's useful to run the Safari Web Inspector on a laptop against a connected iPhone running the web app (https://developer.apple.com/library/archive/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html).
However, this only really works with the app that's deployed to GitHub Pages. That's because the development server and tile server proxy aren't being served over HTTPS. The browser is okay with this when the server is localhost, but when it's a different device on the network, it refuses to allow Geolocation API calls on a non-HTTPS pages. If we serve the page with HTTPS, then the Fetch API will fail for the tile server proxy, because it is unencrypted.
Would a few self-signed certificates allow us to run a development server on a laptop and access from a different device (like a phone) on the same local network?