fix(aio): fix URL redirection for API pages
This commit is contained in:
parent
4ac5096232
commit
54e587a46d
|
@ -25,7 +25,7 @@
|
|||
{"type": 301, "source": "/docs/ts/latest/cookbook/:cookbook.html", "destination": "/guide/:cookbook"},
|
||||
|
||||
// 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/*, **/*
|
||||
{"type": 301, "source": "/docs/ts/latest/:any*", "destination": "/:any*"}
|
||||
|
|
Loading…
Reference in New Issue