From 6469ac3362f589a902aae01ef0bc720eeb7695fd Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Fri, 23 Jun 2017 12:02:15 -0400 Subject: [PATCH] Simplify /help redirect pattern (#1366) Restrict /help redirect to just `/help` or `/help/`. Anything else following help should get handled by scratchr2. --- src/routes.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes.json b/src/routes.json index 89aab1dfd..631714bee 100644 --- a/src/routes.json +++ b/src/routes.json @@ -153,8 +153,8 @@ }, { "name": "help", - "pattern": "^/help/?(\\?.*)?$", - "routeAlias": "/help/?\\??", + "pattern": "^/help/?$", + "routeAlias": "/help", "redirect": "/tips" }, {