Rename replaceUrl to replaceUrls

This commit is contained in:
Zed
2021-12-27 02:27:49 +01:00
parent 0e01ecb001
commit 9e413e1f8c
7 changed files with 11 additions and 11 deletions

View File

@ -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)