From 867f36c346dcde724445154d038590d90f0e3724 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 18 Nov 2023 08:58:05 -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 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}`;