Skip to content

Commit

Permalink
Make redirects for old embed destinations more flexible (#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Feb 16, 2024
1 parent ae59490 commit 9a7cded
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pkgs/sketch_pad/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,34 @@
],
"redirects": [
{
"source": "/embed-dart.html",
"source": "/embed-dart?(.html)",
"destination": "/?embed=true",
"type": 301
},
{
"source": "/embed-flutter.html",
"source": "/embed-flutter?(.html)",
"destination": "/?embed=true",
"type": 301
},
{
"source": "/embed-flutter_showcase.html",
"source": "/embed-flutter_showcase?(.html)",
"destination": "/?embed=true",
"type": 301
},
{
"source": "/embed-html.html",
"source": "/embed-html?(.html)",
"destination": "/?embed=true",
"type": 301
},
{
"source": "/embed-inline.html",
"source": "/embed-inline?(.html)",
"destination": "/?embed=true",
"type": 301
},
{
"source": "/workshops?(.html)",
"destination": "https://github.com/dart-lang/dart-pad/wiki/Workshop-authoring-guide",
"type": 301
}
],
"rewrites": [
Expand Down

0 comments on commit 9a7cded

Please sign in to comment.