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("/")) {
|
||||
path = "/" + path;
|
||||
}
|
||||
return `${u.protocol}//${u.host}${
|
||||
path.startsWith("/") ? path : `/${path}`
|
||||
}`;
|
||||
if (w.prasiContext.siteUrl) {
|
||||
path = w.prasiContext.siteUrl(path);
|
||||
}
|
||||
|
||||
return `${u.protocol}//${u.host}${path}`;
|
||||
}
|
||||
|
||||
return pathname;
|
||||
|
|
|
|||
Loading…
Reference in New Issue