diff --git a/aio/firebase.json b/aio/firebase.json index b889106290..66568b3e5e 100644 --- a/aio/firebase.json +++ b/aio/firebase.json @@ -133,7 +133,10 @@ {"type": 301, "source": "/config/tsconfig", "destination": "/guide/typescript-configuration"}, {"type": 301, "source": "/config/solution-tsconfig", "destination": "https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#solution-style-tsconfig"}, {"type": 301, "source": "/config/app-package-json", "destination": "/guide/strict-mode#non-local-side-effects-in-applications"}, - {"type": 301, "source": "/strict", "destination": "/guide/strict-mode"} + {"type": 301, "source": "/strict", "destination": "/guide/strict-mode"}, + + // Use discoverable link for Angular DevTools and redirect to the guide page + {"type": 301, "source": "/devtools", "destination": "/guide/devtools"} ], "rewrites": [ { diff --git a/aio/ngsw-config.json b/aio/ngsw-config.json index 8b3c6c987c..2d21d1e166 100644 --- a/aio/ngsw-config.json +++ b/aio/ngsw-config.json @@ -159,6 +159,8 @@ "!/testing", "!/testing/**", "!/config/**", - "!/strict" + "!/strict", + "!/devtools", + "!/devtools/**" ] } diff --git a/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt b/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt index 4e1e67ec82..331976050b 100644 --- a/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt +++ b/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt @@ -196,3 +196,4 @@ /start/routing --> /start/start-routing /testing --> /guide/testing /testing/first-app-tests.html --> /guide/testing +/devtools --> /guide/devtools