From eb6c2d94ccbf03712ccc7398dd2ab8b5f2b8cf9d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 18 Nov 2023 08:58:49 -0500 Subject: [PATCH] fix: more url fixes --- src/backend/filters/urlRewrite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);