The File "Service-Worker.Js" Should Be Placed In The Root Directory, Please.

1 0 0

If you're working on implementing a service worker for a website or web application, placing the "service-worker.js" file in the root directory is a common practice. This allows the service worker to have a broader scope and access to all the files and resources within your website's domain.


Check the screenshot link.

Replies 0 (0)