parent
a8d99cc685
commit
d27ab68a90
1 changed files with 3 additions and 0 deletions
|
@ -45,5 +45,8 @@ proc createStatusRouter*(cfg: Config) =
|
|||
cond @"m" in ["video", "photo"]
|
||||
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||
|
||||
get "/@name/statuses/@id":
|
||||
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||
|
||||
get "/i/web/status/@id":
|
||||
redirect("/i/status/" & @"id")
|
||||
|
|
Loading…
Reference in a new issue