fix: more url fixes

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

View File

@ -57,7 +57,7 @@ export default class URLRewriteFilter implements ContentFilter {
//@ts-ignore
url = path.join(rUrl.pathname, urlValue);
}
url = `${swUrl.protocol}//${swUrl.hostname}/browse/${rUrl.hostname}${urlValue}`;
url = `${swUrl.protocol}//${swUrl.hostname}/browse/${rUrl.hostname}${url}`;
console.log(url);
}
return `${url} ${descriptor}`;