Web Security · Browser Security
Service-Worker-Allowed
Response header on the service worker script that permits registration scope beyond the script's directory. For example, Service-Worker-Allowed: / can permit a root scope. The header raises the maximum; the registration must still request its scope. Review the script's upload and update controls before widening it.