mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
Handle double slash in splash pattern
This fixes https://github.com/LLK/scratchr2/issues/4195 by updating the regex to catch two slashes. I decided to intentionally not catch more than 2 – it’ll 404 on 3 or more, which seems appropriate.
This commit is contained in:
parent
11828d2d44
commit
b1595caa95
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"name": "splash",
|
||||
"pattern": "^/?$",
|
||||
"pattern": "^/{1,2}?$",
|
||||
"routeAlias": "/?$",
|
||||
"view": "splash/splash",
|
||||
"title": "Imagine, Program, Share"
|
||||
|
|
Loading…
Add table
Reference in a new issue