Add redirect for `thread` links (#647)

このコミットが含まれているのは:
Jules Bertholet 2022-06-23 16:47:03 -04:00 committed by GitHub
コミット 81ec41328d
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更3行の追加0行の削除

ファイルの表示

@ -72,3 +72,6 @@ proc createStatusRouter*(cfg: Config) =
get "/i/web/status/@id":
redirect("/i/status/" & @"id")
get "/@name/thread/@id/?":
redirect("/$1/status/$2" % [@"name", @"id"])