mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #1391 from chrisgarrity/issue/redirect-routes
update /help and /info routes
This commit is contained in:
commit
89a8c3fc55
1 changed files with 5 additions and 5 deletions
|
@ -153,14 +153,14 @@
|
|||
},
|
||||
{
|
||||
"name": "help",
|
||||
"pattern": "^/help/?$",
|
||||
"routeAlias": "/help",
|
||||
"pattern": "^/help/?(\\?.*)?$",
|
||||
"routeAlias": "^/help/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "info-redirect",
|
||||
"pattern": "^/info/?$",
|
||||
"routeAlias": "/info",
|
||||
"pattern": "^/info/?(\\?.*)?$",
|
||||
"routeAlias": "^/info/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
|
@ -180,7 +180,7 @@
|
|||
{
|
||||
"name": "credits",
|
||||
"pattern": "^/info/credits/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
|
||||
"view": "credits/credits",
|
||||
"title": "Credits"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue