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