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:
chrisgarrity 2017-06-23 12:02:15 -04:00 committed by GitHub
parent 39b1400705
commit 6469ac3362

View file

@ -153,8 +153,8 @@
}, },
{ {
"name": "help", "name": "help",
"pattern": "^/help/?(\\?.*)?$", "pattern": "^/help/?$",
"routeAlias": "/help/?\\??", "routeAlias": "/help",
"redirect": "/tips" "redirect": "/tips"
}, },
{ {