mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-13 07:42:48 -05:00
Rename replaceUrl to replaceUrls
This commit is contained in:
@@ -89,7 +89,7 @@ proc resolve*(url: string; prefs: Prefs): Future[string] {.async.} =
|
||||
let client = newAsyncHttpClient(maxRedirects=0)
|
||||
try:
|
||||
let resp = await client.request(url, HttpHead)
|
||||
result = resp.headers["location"].replaceUrl(prefs)
|
||||
result = resp.headers["location"].replaceUrls(prefs)
|
||||
except:
|
||||
discard
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user