Repository navigation
Replies: 1 comment 2 replies
|
@foofoodog, you are right, and your picture shows it: the card promised "works without internet" wherever the browser could in principle run a service worker, but layerling only registers one in the static export, not in the Docker image, which runs as a Node server. So behind https the card showed up there, although no service worker was running. I changed it: the install card and the "Works offline" tile on the start page now appear only when the service worker can really run, so in the Docker image they are gone. I tried it in a browser with the static export, where both still show, and with the development server, where neither does. It comes with the next release. I have not checked whether the browser still offers to install the app from the Docker image; that part is only the install button, not the offline promise. |
Uh oh!
There was an error while loading. Please reload this page.
Maybe don't prompt to install it, or don't say it works offline if the service worker is not running, like when run from your docker image.
All reactions