mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Restrict image/gif media host instead of hashing
This commit is contained in:
parent
ec43987363
commit
9c91688497
7 changed files with 65 additions and 25 deletions
|
|
@ -41,7 +41,7 @@ proc renderMain*(body: VNode; prefs: Prefs; title="Nitter"; titleText=""; desc="
|
|||
meta(property="og:site_name", content="Twitter")
|
||||
|
||||
for url in images:
|
||||
meta(property="og:image", content=getSigUrl(url, "pic"))
|
||||
meta(property="og:image", content=getPicUrl(url))
|
||||
|
||||
if video.len > 0:
|
||||
meta(property="og:video:url", content=video)
|
||||
|
|
|
|||
Loading…
Reference in a new issue