fix
This commit is contained in:
parent
dac64ba078
commit
68415bb8e0
|
|
@ -152,7 +152,7 @@ ${I}
|
|||
}
|
||||
`:"inset-0 overflow-auto",css`
|
||||
contain: content;
|
||||
`),children:(0,ti.jsx)(C0,{api_url:v.site.api_url,entry:Object.values(v.page.root.childs).filter(a=>a).map(a=>a.id),meta:v.page.meta,mode:v.mode,page_id:v.page.id,site_id:v.site.id,db:v.site.db,api:v.site.api,layout:v.layout.id&&v.layout.root&&v.layout.meta?{id:v.layout.id,meta:v.layout.meta,entry:Object.values(v.layout.root.childs).filter(a=>a).map(a=>a.id)}:void 0,script:{init_local_effect:v.init_local_effect},on_preload:async({urls:a})=>{let I=[];if(v.cache.urls)for(let c of a)v.cache.urls.has(c)||(I.push(c),v.cache.urls.add(c));if(I.length>0){let c=await p0(I);for(let l of c){let u={id:l.id,url:l.url,root:l.root,meta:{}};await Hs(l.root.childs),Lc(u.meta,l.root),v.page.cache[u.id]=u}}}})})})})};var S0=K(ce());(async()=>{Q0();let e=document.getElementById("root");if(e){let t=(0,k0.createRoot)(e);await Sp(!1),yp(),Sn.navigateOverride=A=>(A&&A.startsWith("/")&&(location.hostname.split(".").length===4||location.hostname==="prasi.app"||location.hostname==="prasi.avolut.com"||location.hostname.includes("ngrok")||location.hostname==="localhost"||location.hostname==="127.0.0.1"||location.hostname==="10.0.2.2")&&location.pathname.startsWith("/prod")&&!A.startsWith("/prod")&&(A=`/prod/${location.pathname.split("/")[2]}${A}`),A),t.render((0,S0.jsx)(D0,{})),document.body.classList.contains("opacity-0")&&document.body.classList.remove("opacity-0")}})();
|
||||
`),children:(0,ti.jsx)(C0,{api_url:v.site.api_url,entry:Object.values(v.page.root.childs).filter(a=>a).map(a=>a.id),meta:v.page.meta,mode:v.mode,page_id:v.page.id,site_id:v.site.id,db:v.site.db,api:v.site.api,layout:v.layout.id&&v.layout.root&&v.layout.meta?{id:v.layout.id,meta:v.layout.meta,entry:Object.values(v.layout.root.childs).filter(a=>a).map(a=>a.id)}:void 0,script:{init_local_effect:v.init_local_effect},on_preload:async({urls:a})=>{let I=[];if(v.cache.urls)for(let c of a)v.cache.urls.has(c)||(I.push(c),v.cache.urls.add(c));if(I.length>0){let c=await p0(I);if(Array.isArray(c))for(let l of c){let u={id:l.id,url:l.url,root:l.root,meta:{}};await Hs(l.root.childs),Lc(u.meta,l.root),v.page.cache[u.id]=u}}}})})})})};var S0=K(ce());(async()=>{Q0();let e=document.getElementById("root");if(e){let t=(0,k0.createRoot)(e);await Sp(!1),yp(),Sn.navigateOverride=A=>(A&&A.startsWith("/")&&(location.hostname.split(".").length===4||location.hostname==="prasi.app"||location.hostname==="prasi.avolut.com"||location.hostname.includes("ngrok")||location.hostname==="localhost"||location.hostname==="127.0.0.1"||location.hostname==="10.0.2.2")&&location.pathname.startsWith("/prod")&&!A.startsWith("/prod")&&(A=`/prod/${location.pathname.split("/")[2]}${A}`),A),t.render((0,S0.jsx)(D0,{})),document.body.classList.contains("opacity-0")&&document.body.classList.remove("opacity-0")}})();
|
||||
/*! Bundled license information:
|
||||
|
||||
react/cjs/react.production.min.js:
|
||||
|
|
|
|||
Loading…
Reference in New Issue