diff --git a/src/backend/filters/urlRewrite.ts b/src/backend/filters/urlRewrite.ts index 525dcbb..8846d61 100644 --- a/src/backend/filters/urlRewrite.ts +++ b/src/backend/filters/urlRewrite.ts @@ -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}`;