mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 02:56:29 +00:00
Prepend "https://" to relative rss links
This commit is contained in:
parent
fe15003665
commit
a3303d6bef
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ proc replaceUrl*(url: string; prefs: Prefs; rss=false): string =
|
|||
if prefs.replaceTwitter.len > 0:
|
||||
result = result.replace(twRegex, prefs.replaceTwitter)
|
||||
if rss:
|
||||
result = result.replace("href=\"/", "href=\"" & hostname & "/")
|
||||
result = result.replace("href=\"/", "href=\"https://" & hostname & "/")
|
||||
|
||||
proc proxifyVideo*(manifest: string; proxy: bool): string =
|
||||
proc cb(m: RegexMatch; s: string): string =
|
||||
|
|
Loading…
Reference in a new issue