wip fix
This commit is contained in:
parent
f53ab7c903
commit
1878edf68c
|
|
@ -47,6 +47,9 @@ export const Vi: FC<{
|
|||
vi.on_preload = on_preload;
|
||||
|
||||
w.siteurl = (pathname: string, forceOriginal?: boolean) => {
|
||||
if (pathname.startsWith("http://") || pathname.startsWith("https://"))
|
||||
return pathname;
|
||||
|
||||
if (["prasi.avolut.com"].includes(location.hostname)) {
|
||||
if (vi.site.api_url) {
|
||||
if (!vi.site_url) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue