mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -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",
|
"name": "help",
|
||||||
"pattern": "^/help/?(\\?.*)?$",
|
"pattern": "^/help/?$",
|
||||||
"routeAlias": "/help/?\\??",
|
"routeAlias": "/help",
|
||||||
"redirect": "/tips"
|
"redirect": "/tips"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue