mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 17:45:52 -05:00
Merge pull request #6062 from rschamp/allow-querystrings
Make /educators routes robust to querystrings
This commit is contained in:
commit
0a4bacd1d0
1 changed files with 7 additions and 7 deletions
|
@ -137,8 +137,8 @@
|
|||
},
|
||||
{
|
||||
"name": "educator-landing",
|
||||
"pattern": "^/educators/?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
|
||||
"pattern": "^/educators/?(\\?.*)?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
|
||||
"view": "teachers/landing/landing",
|
||||
"title": "Educators"
|
||||
},
|
||||
|
@ -304,22 +304,22 @@
|
|||
},
|
||||
{
|
||||
"name": "teacher-faq",
|
||||
"pattern": "^/educators/faq/?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
|
||||
"pattern": "^/educators/faq/?(\\?.*)?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
|
||||
"view": "teachers/faq/faq",
|
||||
"title": "Teacher Accounts FAQ"
|
||||
},
|
||||
{
|
||||
"name": "teacherregistration",
|
||||
"pattern": "^/educators/register/?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
|
||||
"pattern": "^/educators/register/?(\\?.*)?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
|
||||
"view": "teacherregistration/teacherregistration",
|
||||
"title": "Teacher Registration"
|
||||
},
|
||||
{
|
||||
"name": "teacherwaitingroom",
|
||||
"pattern": "^/educators/waiting",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
|
||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$",
|
||||
"view": "teacherwaitingroom/teacherwaitingroom",
|
||||
"title": "Thank you for requesting a Scratch Teacher Account"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue