Please sign in to comment.
fix(service-worker): use relative path for ngsw.json
Not every application is served from the domain root. The Service Worker made a bad assumption that it would be, and so requested /ngsw.json from the domain root. This change corrects this assumption, and requests ngsw.json without the leading slash. This causes the request to be interpreted relative to the SW origin, which will be the application root.
- Loading branch information...
Showing with 8 additions and 8 deletions.