angular-cn/packages/service-worker/worker/test
George Kalpakas d19ef6534f fix(service-worker): correctly handle relative base href (#37922)
In some cases, it is useful to use a relative base href in the app (e.g.
when an app has to be accessible on different URLs, such as on an
intranet and the internet - see #25055 for a related discussion).

Previously, the Angular ServiceWorker was not able to handle relative
base hrefs (for example when building the with `--base-href=./`).

This commit fixes this by normalizing all URLs from the ServiceWorker
configuration wrt the ServiceWorker's scope.

Fixes #25055

PR Close #37922
2020-07-09 09:44:57 -07:00
..
BUILD.bazel test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:40 -08:00
data_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
happy_spec.ts fix(service-worker): correctly handle relative base href (#37922) 2020-07-09 09:44:57 -07:00
idle_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
prefetch_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00