mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 14:45:33 +00:00
Add redirect for thread
links (#647)
This commit is contained in:
parent
5e827c91aa
commit
81ec41328d
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue