commit | fafe78525e219569f48311c9ef3df9757d471a69 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Mon Jul 26 16:01:13 2021 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Mon Jul 26 16:01:13 2021 +0200 |
tree | 61fe0c989a18dcebc7621e1a28d5621b1085242c | |
parent | 992bfb52058cef2b58979c45e22fe378327b40cf [diff] |
Add redirect from iavm.xyz/b/{project} to Monorail Change-Id: Id13c34a18681c8861686e98f04b9c011fb45c7f1
diff --git a/redirects.php b/redirects.php index 5b26acc..bc9fcb1 100644 --- a/redirects.php +++ b/redirects.php
@@ -5,6 +5,10 @@ 'redirect' => 'https://bugs.avm99963.com/' ], [ + 'pattern' => '/^\/?b\/([^\/]+)$/', + 'redirect' => 'https://bugs.avm99963.com/p/$1/issues/list' + ], + [ 'pattern' => '/^\/?b\/([^\/]+)\/(\d+)$/', 'redirect' => 'https://bugs.avm99963.com/p/$1/issues/detail?id=$2' ],