angular-docs-cn/packages/service-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
..
cli refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
config refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
src fix(service-worker): send initialization signal from the application 2017-12-01 14:21:07 -08:00
test fix(service-worker): don't crash if SW not supported 2017-12-01 14:18:16 -08:00
testing fix(service-worker): listen for messages on the right event source (#19954) 2017-10-26 16:04:59 -04:00
worker fix(service-worker): use relative path for ngsw.json 2017-12-01 14:21:07 -08:00
build.sh feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
index.ts fix(aio): add service worker entrypoint to aio build (#19875) 2017-10-23 19:31:42 -04:00
package.json feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
public_api.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
rollup.config.js fix(service-worker): don't crash if SW not supported 2017-12-01 14:18:16 -08:00
tsconfig-build.json build(service-worker): set skipTemplateCodegen for build (#19875) 2017-10-23 19:31:42 -04:00