angular-docs-cn/aio/tools/firebase-test-utils
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
..
FirebaseRedirect.spec.ts test(docs-infra): update `firebase-test-utils` to support regex-based redirects (#41842) 2021-04-27 14:05:23 -07:00
FirebaseRedirect.ts test(docs-infra): update `firebase-test-utils` to support regex-based redirects (#41842) 2021-04-27 14:05:23 -07:00
FirebaseRedirectSource.spec.ts fix(docs-infra): correctly serve `index.html` with a query string (#42547) 2021-06-14 09:57:30 -07:00
FirebaseRedirectSource.ts fix(docs-infra): correctly serve `index.html` with a query string (#42547) 2021-06-14 09:57:30 -07:00
FirebaseRedirector.spec.ts test(docs-infra): update `firebase-test-utils` to support regex-based redirects (#41842) 2021-04-27 14:05:23 -07:00
FirebaseRedirector.ts test(docs-infra): update `firebase-test-utils` to support regex-based redirects (#41842) 2021-04-27 14:05:23 -07:00
test.js build(docs-infra): ensure that jasmine node tests fail on build error (#41596) 2021-04-13 11:54:15 -07:00
tsconfig.json build(docs-infra): upgrade @angular/cli to 8.0.0-beta.18 (#29926) 2019-04-25 12:32:49 -07:00