This commit is contained in:
Rizky 2024-03-15 12:46:34 +07:00
parent f53ab7c903
commit 1878edf68c
1 changed files with 3 additions and 0 deletions

View File

@ -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) {