Watch
1
0
Fork
You've already forked nitter
0
mirror of https://github.com/zedeus/nitter synced 2026-11-22 12:57:19 +00:00

Add redirect for thread links (#647)

This commit is contained in:
Jules Bertholet 2022-06-23 16:47:03 -04:00 • committed by GitHub
commit 81ec41328d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"])