Skip to content

Commit 9a7cded

Browse files
authored
Make redirects for old embed destinations more flexible (#2853)
1 parent ae59490 commit 9a7cded

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pkgs/sketch_pad/firebase.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,34 @@
1010
],
1111
"redirects": [
1212
{
13-
"source": "/embed-dart.html",
13+
"source": "/embed-dart?(.html)",
1414
"destination": "/?embed=true",
1515
"type": 301
1616
},
1717
{
18-
"source": "/embed-flutter.html",
18+
"source": "/embed-flutter?(.html)",
1919
"destination": "/?embed=true",
2020
"type": 301
2121
},
2222
{
23-
"source": "/embed-flutter_showcase.html",
23+
"source": "/embed-flutter_showcase?(.html)",
2424
"destination": "/?embed=true",
2525
"type": 301
2626
},
2727
{
28-
"source": "/embed-html.html",
28+
"source": "/embed-html?(.html)",
2929
"destination": "/?embed=true",
3030
"type": 301
3131
},
3232
{
33-
"source": "/embed-inline.html",
33+
"source": "/embed-inline?(.html)",
3434
"destination": "/?embed=true",
3535
"type": 301
36+
},
37+
{
38+
"source": "/workshops?(.html)",
39+
"destination": "https://github.com/dart-lang/dart-pad/wiki/Workshop-authoring-guide",
40+
"type": 301
3641
}
3742
],
3843
"rewrites": [

0 commit comments

Comments
 (0)