Support /i/web/status endpoint

This commit is contained in:
Zed 2019-08-22 23:16:09 +02:00
parent 1e73a2f8bf
commit 1c43dd66a7

View file

@ -152,6 +152,9 @@ routes:
else:
resp renderMain(html, prefs, cfg.title, title, desc, images=conversation.tweet.photos)
get "/i/web/status/@id":
redirect("/i/status/" & @"id")
get "/pic/@sig/@url":
cond "http" in @"url"
cond "twimg" in @"url"