Commit 3504ec19 authored by Matthew Taylor's avatar Matthew Taylor Committed by GitHub

Merge pull request #716 from mewtaylor/issue/gh-r2-3798

Towards Hotfix: Allow urls with `ajax` to pass through
parents 5e130d23 d8a04365
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
{ {
"name": "explore", "name": "explore",
"pattern": "^/explore/:projects/:all/?$", "pattern": "^/explore/:projects/:all/?$",
"routeAlias": "^/explore", "routeAlias": "^/explore(?!/ajax)",
"view": "explore/explore", "view": "explore/explore",
"title": "Explore" "title": "Explore"
}, },
...@@ -39,13 +39,13 @@ ...@@ -39,13 +39,13 @@
{ {
"name": "explore-projects-redirect", "name": "explore-projects-redirect",
"pattern": "^/explore/projects/?$", "pattern": "^/explore/projects/?$",
"routeAlias": "^/explore", "routeAlias": "^/explore(?!/ajax)",
"redirect": "/explore/projects/all" "redirect": "/explore/projects/all"
}, },
{ {
"name": "explore-studios-redirect", "name": "explore-studios-redirect",
"pattern": "^/explore/studios/?$", "pattern": "^/explore/studios/?$",
"routeAlias": "^/explore", "routeAlias": "^/explore(?!/ajax)",
"redirect": "/explore/studios/all" "redirect": "/explore/studios/all"
}, },
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment