The maximum area for the worker, where he is . This means that you cannot register a single service worker located in /sw/ in scope: '/public_html/' unless you include the special Service-Worker-Allowed header set to the new maximum area for your worker.
To summarize, if you can add this header when servicing a service worker, set it as follows:
Service-Worker-Allowed: /public_html/
If not, you should put sw in a specific place above the area.
Salva source share