mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-23 07:15:37 +00:00
Redirect /video alias
This commit is contained in:
parent
8cae23dc7e
commit
1871cebf1f
|
@ -46,6 +46,9 @@ proc createStatusRouter*(cfg: Config) =
|
|||
get "/@name/status/@id/photo/@i":
|
||||
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||
|
||||
get "/@name/status/@id/video/@i":
|
||||
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||
|
||||
get "/@name/statuses/@id":
|
||||
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||
|
||||
|
|
Loading…
Reference in a new issue