angular/aio/tests/deployment/shared
George Kalpakas 56a0582d79 fix(docs-infra): correctly serve index.html with a query string (#42547)
Previously, due to a bug in Firebase hosting, requests to
`/index.html?<query>` would lead to an infinite redirect and eventually
a failure. This affected, for example, cache-busting requests from the
ServiceWorker, which look like: `/index.html?ngsw-cache-bust=...`
For more details see
https://github.com/angular/angular/issues/42518#issuecomment-858545483

This commit temporarily works around the bug by explicitly redirecting
`/index.html?<query>` to `/?<query>`.

Fixes #42518

PR Close #42547
2021-06-14 09:57:30 -07:00
..
cjson.d.ts build(docs-infra): make type-checking stricter by enabling noImplicitAny (#29926) 2019-04-25 12:32:49 -07:00
helpers.ts test(docs-infra): change URL separator from \t to --> in URLS_TO_REDIRECT.txt (#41680) 2021-04-19 08:26:01 -07:00
URLS_TO_REDIRECT.txt fix(docs-infra): correctly serve index.html with a query string (#42547) 2021-06-14 09:57:30 -07:00