Skip to content

Commit bc0552f

Browse files
authored
Add a /cl redirect for gerrit CLs (#5106)
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.
1 parent 2a776b6 commit bc0552f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

firebase.json

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
{ "source": "/books", "destination": "/resources/books", "type": 301 },
8080
{ "source": "/bug", "destination": "https://dartbug.com", "type": 301 },
8181
{ "source": "/bug/:rest*", "destination": "https://dartbug.com/:rest*", "type": 301 },
82+
{ "source": "/cl", "destination": "https://dart-review.googlesource.com/q/status:open+-is:wip", "type": 301 },
83+
{ "source": "/cl/:rest*", "destination": "https://dart-review.googlesource.com/c/sdk/+/:rest*", "type": 301 },
8284
{ "source": "/cloud{,/**}", "destination": "/server/google-cloud", "type": 301 },
8385
{ "source": "/codelabs/server{,/**}", "destination": "/tutorials/server/httpserver", "type": 301 },
8486
{ "source": "/code-of-conduct", "destination": "/community/code-of-conduct", "type": 301 },

0 commit comments

Comments
 (0)