From 1d32598094c2ee4e61a553d314a52aee14037ffd Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 18 Aug 2023 15:51:39 -0400 Subject: [PATCH] Update outdated comment --- src/render/instantview.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/render/instantview.ts b/src/render/instantview.ts index b8a94b4..7ff5216 100644 --- a/src/render/instantview.ts +++ b/src/render/instantview.ts @@ -110,7 +110,11 @@ export const renderInstantView = (properties: RenderProperties): ResponseInstruc /* Use ISO date for Medium template */ const postDate = new Date(tweet.created_at).toISOString(); - /* Include Instant-View related headers. This is an unfinished project. Thanks to https://nikstar.me/post/instant-view/ for the help! */ + /* Pretend to be Medium to allow Instant View to work. + Thanks to https://nikstar.me/post/instant-view/ for the help! + + If you work for Telegram and want to let us build our own templates + contact me https://t.me/dangeredwolf */ instructions.addHeaders = [ ``, ``