fix: remove duplicate colon

This commit is contained in:
Derrick Hammer 2023-10-18 07:38:30 -04:00
parent 33f7ed1bcd
commit 52c11f350e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export default class URLRewriteFilter implements ContentFilter {
//@ts-ignore //@ts-ignore
urlValue = path.join(requestor, urlValue); urlValue = path.join(requestor, urlValue);
} }
urlValue = `${swUrl.protocol}://${swUrl.hostname}/browse/${urlValue}`; urlValue = `${swUrl.protocol}//${swUrl.hostname}/browse/${urlValue}`;
console.log(urlValue); console.log(urlValue);
$(element).attr(attrName, urlValue); $(element).attr(attrName, urlValue);