fix(aio): correctly redirect /docs/ts/latest
and /styleguide
Previously, we had redirect rules for Firebase for `/docs/ts/latest` and `/styleguide`, but once the ServiceWorker was activated, it would take over routing and rewrite these requests to `/index.html`. This commit fixes it by excluding them from ServiceWorker routing. Fixes #17542
This commit is contained in:
parent
9315ab88d7
commit
adc1b129e4
@ -19,7 +19,7 @@
|
|||||||
"routing": {
|
"routing": {
|
||||||
"index": "/index.html",
|
"index": "/index.html",
|
||||||
"routes": {
|
"routes": {
|
||||||
"/(?!e?plnkr)[^/.]*$": {
|
"^(?!/docs/ts/latest|/styleguide).*/(?!e?plnkr)[^/.]*$": {
|
||||||
"match": "regex"
|
"match": "regex"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user