mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Merge pull request #716 from mewtaylor/issue/gh-r2-3798
Towards Hotfix: Allow urls with `ajax` to pass through
This commit is contained in:
commit
3504ec1910
1 changed files with 3 additions and 3 deletions
|
@ -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 @@
|
||||||
{
|
{
|
||||||
"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"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue