How exactly add “Service-Worker-Allowed” to register service worker scope in upper folder
问题 There are similar questions about it, but it's not very clear how to apply the solution, and keep to receive an error. I explain. I'd like to create a simply html/js app using service worker technology. I have: Index.html js/app.js js/sw.js in app.js the code is (see //*** comments to clearify): // *** I receive always the error: // *** ERROR: The path of the provided scope ('/') is not under the max scope allowed ('/js/'). // *** Adjust the scope, move the Service Worker script, or use the