mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Simplify /help redirect pattern (#1366)
Restrict /help redirect to just `/help` or `/help/`. Anything else following help should get handled by scratchr2.
This commit is contained in:
parent
39b1400705
commit
6469ac3362
1 changed files with 2 additions and 2 deletions
|
@ -153,8 +153,8 @@
|
|||
},
|
||||
{
|
||||
"name": "help",
|
||||
"pattern": "^/help/?(\\?.*)?$",
|
||||
"routeAlias": "/help/?\\??",
|
||||
"pattern": "^/help/?$",
|
||||
"routeAlias": "/help",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue