mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59: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
|
|
@ -69,7 +69,7 @@ routes:
|
|||
get "/i/redirect":
|
||||
let url = decodeUrl(@"url")
|
||||
if url.len == 0: resp Http404
|
||||
redirect(replaceUrl(url, cookiePrefs()))
|
||||
redirect(replaceUrls(url, cookiePrefs()))
|
||||
|
||||
error Http404:
|
||||
resp Http404, showError("Page not found", cfg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue