import{a as o}from"./axios-BPt4fYpj.js";const r=async()=>{try{const a=await o.get("/api/healthcheck");(!a.data||a.data.status!=="ok")&&(console.log("a"),window.location.href="/#/error?msg=API%20unreachable")}catch(a){console.log(a),window.location.href="/#/error?msg=API%20unreachable"}};export{r as default};
