Redirect /video alias
This commit is contained in:
parent
8cae23dc7e
commit
1871cebf1f
1 changed files with 3 additions and 0 deletions
|
@ -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