From b62a4db5900898bcd7ff8ace460fe22e4f3aa796 Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Fri, 1 Sep 2017 14:39:47 -0400 Subject: [PATCH] Pass to legacy on message routes with `ajax` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currenlty, some legacy endpoints are failing because they’re being directed to www. A similar thing happened with `/explore`, and this is the same fix --- src/routes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.json b/src/routes.json index 7852dadee..8a8bdcbb2 100644 --- a/src/routes.json +++ b/src/routes.json @@ -144,7 +144,7 @@ { "name": "messages", "pattern": "^/messages/?$", - "routeAlias": "/messages", + "routeAlias": "/messages(?!/ajax)", "view": "messages/container", "title": "Messages" },