fix(aio): fix SW routing RegExp to allow redirecting /api/animate
URLs (#23093)
PR Close #23093
This commit is contained in:
parent
0614b2b941
commit
55eaeb17d9
@ -19,7 +19,7 @@
|
|||||||
"routing": {
|
"routing": {
|
||||||
"index": "/index.html",
|
"index": "/index.html",
|
||||||
"routes": {
|
"routes": {
|
||||||
"^(?!/styleguide|/docs/.|(?:/guide/(?:cli-quickstart|metadata|ngmodule|service-worker-(?:getstart|comm|configref)|learning-angular)|/news)(?:\\.html|/)?$|/testing|/api/(?:.+/[^/]+-|platform-browser/AnimationDriver|testing|api/|(?:common/(?:NgModel|Control|MaxLengthValidator))|(?:[^/]+/)?(?:NgFor(?:$|-)|AnimationStateDeclarationMetadata|CORE_DIRECTIVES|PLATFORM_PIPES|DirectiveMetadata|HTTP_PROVIDERS))|.*/stackblitz(?:\\.html)?$|.*\\.[^\/.]+$)": {
|
"^(?!/styleguide|/docs/.|(?:/guide/(?:cli-quickstart|metadata|ngmodule|service-worker-(?:getstart|comm|configref)|learning-angular)|/news)(?:\\.html|/)?$|/testing|/api/(?:.+/[^/]+-|platform-browser/AnimationDriver|testing/|api/|animate/|(?:common/(?:NgModel|Control|MaxLengthValidator))|(?:[^/]+/)?(?:NgFor(?:$|-)|AnimationStateDeclarationMetadata|CORE_DIRECTIVES|PLATFORM_PIPES|DirectiveMetadata|HTTP_PROVIDERS))|.*/stackblitz(?:\\.html)?$|.*\\.[^\/.]+$)": {
|
||||||
"match": "regex"
|
"match": "regex"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
/api/animate/AnimationBuilder /api/animations/AnimationBuilder
|
||||||
|
/api/animate/CssAnimationBuilder /api/animations/CssAnimationBuilder
|
||||||
/api/api/core/ElementRef /api/core/ElementRef
|
/api/api/core/ElementRef /api/core/ElementRef
|
||||||
/api/common/Control-class /api/forms/FormControl
|
/api/common/Control-class /api/forms/FormControl
|
||||||
/api/common/CORE_DIRECTIVES /api/common/CommonModule
|
/api/common/CORE_DIRECTIVES /api/common/CommonModule
|
||||||
|
Loading…
x
Reference in New Issue
Block a user