Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The Scope URL must be a subdirectory or subdomain of the Script URL to avoid errors in Service Worker Registration. This is because the Service Worker can only control pages within its scope URL, and if it is outside of the scope URL, it will not be able to control those pages.