fix
This commit is contained in:
parent
603b305234
commit
814c709814
File diff suppressed because one or more lines are too long
|
|
@ -81,9 +81,11 @@ export const Vi: FC<{
|
||||||
if (!path.startsWith("/")) {
|
if (!path.startsWith("/")) {
|
||||||
path = "/" + path;
|
path = "/" + path;
|
||||||
}
|
}
|
||||||
return `${u.protocol}//${u.host}${
|
if (w.prasiContext.siteUrl) {
|
||||||
path.startsWith("/") ? path : `/${path}`
|
path = w.prasiContext.siteUrl(path);
|
||||||
}`;
|
}
|
||||||
|
|
||||||
|
return `${u.protocol}//${u.host}${path}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return pathname;
|
return pathname;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue