angular-docs-cn/packages/service-worker/worker
Alex Rickabaugh f582620d5b 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.
2017-12-01 14:21:07 -08:00
..
src fix(service-worker): use relative path for ngsw.json 2017-12-01 14:21:07 -08:00
test fix(service-worker): use relative path for ngsw.json 2017-12-01 14:21:07 -08:00
testing fix(service-worker): use relative path for ngsw.json 2017-12-01 14:21:07 -08:00
main.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
rollup-worker.config.js feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
tsconfig.json feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00