emit body and doctype on iframe embed endpoint (#640)

This commit is contained in:
HookedBehemoth
2022-06-16 18:46:41 +02:00
committed by GitHub
parent b398136742
commit 5e827c91aa
3 changed files with 15 additions and 6 deletions

View File

@@ -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"