fix(aio): fix URL redirection for API pages

This commit is contained in:
Georgios Kalpakas 2017-04-24 11:52:06 +03:00 committed by Pete Bacon Darwin
parent 4ac5096232
commit 54e587a46d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
{"type": 301, "source": "/docs/ts/latest/cookbook/:cookbook.html", "destination": "/guide/:cookbook"}, {"type": 301, "source": "/docs/ts/latest/cookbook/:cookbook.html", "destination": "/guide/:cookbook"},
// docs/ts/latest/api/*/index/*-type.html // docs/ts/latest/api/*/index/*-type.html
{"type": 301, "source": "/docs/ts/latest/api/:package/index/:api-type.html", "destination": "/api/:package/:api"}, {"type": 301, "source": "/docs/ts/latest/api/:package/index/:api-*.html", "destination": "/api/:package/:api"},
// guide/*, tutorial/*, **/* // guide/*, tutorial/*, **/*
{"type": 301, "source": "/docs/ts/latest/:any*", "destination": "/:any*"} {"type": 301, "source": "/docs/ts/latest/:any*", "destination": "/:any*"}