fix: add missing attr call

This commit is contained in:
Derrick Hammer 2023-10-18 07:24:44 -04:00
parent 509479aec9
commit 8328975644
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ export default class URLRewriteFilter implements ContentFilter {
urlValue = urlJoin(requestor, urlValue); urlValue = urlJoin(requestor, urlValue);
} }
urlValue = `${swUrl.protocol}://${swUrl.hostname}/browse/${urlValue}`; urlValue = `${swUrl.protocol}://${swUrl.hostname}/browse/${urlValue}`;
console.log(urlValue);
$(element).attr(attrName, urlValue);
} }
} }
}); });