fix: more url fixes
This commit is contained in:
parent
867f36c346
commit
eb6c2d94cc
|
@ -55,7 +55,7 @@ export default class URLRewriteFilter implements ContentFilter {
|
||||||
if (!isExternal || !isICANN(url)) {
|
if (!isExternal || !isICANN(url)) {
|
||||||
if (!isExternal) {
|
if (!isExternal) {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
url = path.join(rUrl.pathname, urlValue);
|
url = path.join(rUrl.pathname, url);
|
||||||
}
|
}
|
||||||
url = `${swUrl.protocol}//${swUrl.hostname}/browse/${rUrl.hostname}${url}`;
|
url = `${swUrl.protocol}//${swUrl.hostname}/browse/${rUrl.hostname}${url}`;
|
||||||
console.log(url);
|
console.log(url);
|
||||||
|
|
Loading…
Reference in New Issue