Skip to content

Commit

Permalink
Add a /cl redirect for gerrit CLs (dart-lang#5106)
Browse files Browse the repository at this point in the history
This will for example, enable https://dart.dev/cl/320141 to redirect to
https://dart-review.googlesource.com/c/sdk/+/320141. This allows for
shorter, more familiar, and more memorable links for sharing with users.

This follows a similar vein as the recent https://dart.dev/bug/53016
redirect functionality.
  • Loading branch information
parlough authored and rmacnak-google committed Sep 5, 2023
1 parent 0fc2e91 commit 4d47d19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
{ "source": "/books", "destination": "/resources/books", "type": 301 },
{ "source": "/bug", "destination": "https://dartbug.com", "type": 301 },
{ "source": "/bug/:rest*", "destination": "https://dartbug.com/:rest*", "type": 301 },
{ "source": "/cl", "destination": "https://dart-review.googlesource.com/q/status:open+-is:wip", "type": 301 },
{ "source": "/cl/:rest*", "destination": "https://dart-review.googlesource.com/c/sdk/+/:rest*", "type": 301 },
{ "source": "/cloud{,/**}", "destination": "/server/google-cloud", "type": 301 },
{ "source": "/codelabs/server{,/**}", "destination": "/tutorials/server/httpserver", "type": 301 },
{ "source": "/code-of-conduct", "destination": "/community/code-of-conduct", "type": 301 },
Expand Down

0 comments on commit 4d47d19

Please sign in to comment.