From 1c43dd66a7f6a946524dbaf2601e4eab3488ba7e Mon Sep 17 00:00:00 2001 From: Zed Date: Thu, 22 Aug 2019 23:16:09 +0200 Subject: [PATCH] Support /i/web/status endpoint --- src/nitter.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nitter.nim b/src/nitter.nim index a97ba76..6a0eb81 100644 --- a/src/nitter.nim +++ b/src/nitter.nim @@ -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"