Support /i/web/status endpoint
This commit is contained in:
parent
1e73a2f8bf
commit
1c43dd66a7
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,9 @@ routes:
|
||||||
else:
|
else:
|
||||||
resp renderMain(html, prefs, cfg.title, title, desc, images=conversation.tweet.photos)
|
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":
|
get "/pic/@sig/@url":
|
||||||
cond "http" in @"url"
|
cond "http" in @"url"
|
||||||
cond "twimg" in @"url"
|
cond "twimg" in @"url"
|
||||||
|
|
Loading…
Reference in a new issue