fix: more url fixes
This commit is contained in:
parent
f7720f775c
commit
867f36c346
|
@ -57,7 +57,7 @@ export default class URLRewriteFilter implements ContentFilter {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
url = path.join(rUrl.pathname, urlValue);
|
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);
|
console.log(url);
|
||||||
}
|
}
|
||||||
return `${url} ${descriptor}`;
|
return `${url} ${descriptor}`;
|
||||||
|
|
Loading…
Reference in New Issue