News for hackers. Stuff that matters.
Re:Show HN: Running a simple local HTTP server in a web page by e12e on Sunday October 31, 2021 @07:46AM (#29056296)
> You first have to host these index.html and sw.js on a regular server

I guess no server worker from a file://-url?

Re:Show HN: Running a simple local HTTP server in a web page by tyingq on Sunday October 31, 2021 @08:28AM (#29056489)
Chrome tells me "Failed to register a ServiceWorker: The URL protocol of the current origin ('null') is not supported." when I try it.