parent
09f6b9a7db
commit
53a7113905
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ proc createStatusRouter*(cfg: Config) =
|
||||||
resp renderMain(html, request, cfg.title, title, desc,
|
resp renderMain(html, request, cfg.title, title, desc,
|
||||||
images=conversation.tweet.photos, `type`="photo")
|
images=conversation.tweet.photos, `type`="photo")
|
||||||
|
|
||||||
get "/@name/status/@id/photo/1":
|
get "/@name/status/@id/photo/@i":
|
||||||
|
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||||
|
|
||||||
|
get "/@name/statuses/@id":
|
||||||
redirect("/$1/status/$2" % [@"name", @"id"])
|
redirect("/$1/status/$2" % [@"name", @"id"])
|
||||||
|
|
||||||
get "/i/web/status/@id":
|
get "/i/web/status/@id":
|
||||||
|
|
Loading…
Reference in a new issue