fix(aio): add missing forward slash to redirect (#21712)

PR Close #21712
This commit is contained in:
Pete Bacon Darwin 2018-01-23 14:48:32 +00:00 committed by Miško Hevery
parent 01cef016ee
commit f11b2fb00b
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
//////////////////////////////////////////////////////////////////////////////////////////////
// A random bad indexed page that used `api/api`
{"type": 301, "source": "api/api/:rest*", "destination": "api/:rest"},
{"type": 301, "source": "/api/api/:rest*", "destination": "api/:rest"},
// Guide renames
{"type": 301, "source": "/docs/*/latest/cli-quickstart.html", "destination": "/guide/quickstart"},
@ -92,6 +92,7 @@
{"type": 301, "source": "/docs/*/latest/guide/", "destination": "/guide"},
{"type": 301, "source": "/docs/*/latest/guide/lifecycle-hooks", "destination": "/guide/lifecycle-hooks"},
{"type": 301, "source": "/docs/*/latest/:any*", "destination": "/:any*"},
{"type": 301, "source": "/docs/latest/:any*", "destination": "/:any*"},
{"type": 301, "source": "/docs/styleguide*", "destination": "/guide/styleguide"},
{"type": 301, "source": "/guide/metadata", "destination": "/guide/aot-compiler"},
{"type": 301, "source": "/guide/ngmodule", "destination": "/guide/ngmodules"},