From 1878edf68c6fd85560ac36c8ca2e4df59e75d7f4 Mon Sep 17 00:00:00 2001 From: Rizky Date: Fri, 15 Mar 2024 12:46:34 +0700 Subject: [PATCH] wip fix --- app/web/src/nova/vi/vi.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/web/src/nova/vi/vi.tsx b/app/web/src/nova/vi/vi.tsx index 699fa25b..4bea0520 100644 --- a/app/web/src/nova/vi/vi.tsx +++ b/app/web/src/nova/vi/vi.tsx @@ -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) {