fix: more url fixes

This commit is contained in:
Derrick Hammer 2023-11-18 08:58:49 -05:00
parent 867f36c346
commit eb6c2d94cc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export default class URLRewriteFilter implements ContentFilter {
if (!isExternal || !isICANN(url)) {
if (!isExternal) {
//@ts-ignore
url = path.join(rUrl.pathname, urlValue);
url = path.join(rUrl.pathname, url);
}
url = `${swUrl.protocol}//${swUrl.hostname}/browse/${rUrl.hostname}${url}`;
console.log(url);