fix: ts-ignore urlJoin
This commit is contained in:
parent
8105efd78c
commit
6c5ec99dff
|
@ -24,6 +24,7 @@ export default class URLRewriteFilter implements ContentFilter {
|
|||
const isExternal = urlValue.startsWith("http");
|
||||
if (!isExternal || !isICANN(urlValue)) {
|
||||
if (!isExternal) {
|
||||
//@ts-ignore
|
||||
urlValue = urlJoin("/browse/", urlValue);
|
||||
} else {
|
||||
urlValue = `/browse/${urlValue}`;
|
||||
|
|
Loading…
Reference in New Issue