From 25a1854fb163425051aea1316f0cf655ea57e430 Mon Sep 17 00:00:00 2001 From: Colby Gutierrez-Kraybill Date: Fri, 28 Dec 2018 20:30:12 -0500 Subject: [PATCH] These should be more greedy, as we sometimes have links from third parties that add query parameters. We don't do anything with the final group match, yet. --- src/routes.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/routes.json b/src/routes.json index 3a4ab8904..5202f3d05 100644 --- a/src/routes.json +++ b/src/routes.json @@ -108,7 +108,7 @@ }, { "name": "download", - "pattern": "^/download/?$", + "pattern": "^/download/?(.+)?$", "routeAlias": "/download", "view": "download/download", "title": "Scratch Offline Editor" @@ -129,7 +129,7 @@ }, { "name": "faq", - "pattern": "^/info/faq/?$", + "pattern": "^/info/faq/?(.+)?$", "routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$", "view": "faq/faq", "title": "FAQ" @@ -205,11 +205,11 @@ "title": "Scratch 3.0 Preview" }, { - "name": "3faq", - "pattern": "^/3faq/?$", - "routeAlias": "/3faq/?$", - "view": "preview-faq/preview-faq", - "title": "Scratch 3.0 FAQ" + "name": "parents", + "pattern": "^/parents/?$", + "routeAlias": "/parents/", + "view": "parents/parents", + "title": "For Parents" }, { "name": "preview-faq-redirect",