mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Rename replaceUrl to replaceUrls
This commit is contained in:
parent
0e01ecb001
commit
9e413e1f8c
7 changed files with 11 additions and 11 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue