Below is the screeshot of my index.html
service-worker in apps/web-app/index.html
Registering the service-worker giving 404 error
unknown #1255:bad http response code (404) was received when fetching the script
Below is the screenshot of the error
http://localhost:4200/libs/scripts/sw.js
I have also used the service worker with "https" but SW still not getting registered. I also tried to change the sw.js file-location but again getting an error. Can anybody tell me is this the issue with the file-location?