From 52c11f350ea728670aee39f923f5e7f77d31daa7 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 18 Oct 2023 07:38:30 -0400 Subject: [PATCH] fix: remove duplicate colon --- 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 ab0528a..b881726 100644 --- a/src/backend/filters/urlRewrite.ts +++ b/src/backend/filters/urlRewrite.ts @@ -33,7 +33,7 @@ export default class URLRewriteFilter implements ContentFilter { //@ts-ignore urlValue = path.join(requestor, urlValue); } - urlValue = `${swUrl.protocol}://${swUrl.hostname}/browse/${urlValue}`; + urlValue = `${swUrl.protocol}//${swUrl.hostname}/browse/${urlValue}`; console.log(urlValue); $(element).attr(attrName, urlValue);