InBrowserApp / tldr.inbrowser.app

đź“ť tldr InBrowser.App is a offline-capable PWA for tldr-pages. Fully runs in your browser. Zero API latency.
https://tldr.inbrowser.app
MIT License
196 stars 21 forks source link

opensearch.xml Not Found in Firefox #12

Closed smrqdt closed 1 year ago

smrqdt commented 1 year ago

tldr.inbrowser.app announces an opensearch plugin via link header, but the referenced opensearch.xml returns a 404.

As the file exists in this repo, I guess it's some deployment issue.

smrqdt commented 1 year ago

5 seconds after creating the issue, I checked with curl, and it exists, should have done that first. o.0

So this seems to be some Firefox related issue: I use Firefox 110.0.1 (64-bit) on Arch Linux. I checked in a clean browser profile without any addons as well as in Firefox Dev Editin 111.0b8 (64-bit), same issue.

rwv commented 1 year ago

This issue is related to service worker. The service worker didn’t register the opensearch xml.

rwv commented 1 year ago

This deployment should be ready in around 5 minute. However, to update service worker, you need refresh and close Firefox fully or activate latest service worker in developer tools.

smrqdt commented 1 year ago

That was fast, awesome. Thank you!