mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
emit body and doctype on iframe embed endpoint (#640)
This commit is contained in:
parent
b398136742
commit
5e827c91aa
3 changed files with 15 additions and 6 deletions
|
|
@ -25,7 +25,7 @@ proc createEmbedRouter*(cfg: Config) =
|
|||
if convo == nil or convo.tweet == nil:
|
||||
resp Http404
|
||||
|
||||
resp $renderTweetEmbed(convo.tweet, path, prefs, cfg, request)
|
||||
resp renderTweetEmbed(convo.tweet, path, prefs, cfg, request)
|
||||
|
||||
get "/embed/Tweet.html":
|
||||
let id = @"id"
|
||||
|
|
|
|||
Loading…
Reference in a new issue