← Back
Editing: index384.js
import{getComposerLine as e}from"./site.js?v=VERSION_NUMBER";import{c as a,r as s,p as t,aD as l,q as r,v as n,y as o,x as c}from"./base-lib.js?v=VERSION_NUMBER";import"./utils-lib.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";const i={class:"h-full overflow-auto bg-black text-white"},p=["innerHTML"],m=a({__name:"index",setup(a){const m=s("正在申请证书..."),u=s();return t((()=>{(async()=>{u.value=setInterval((async()=>{try{const{data:a}=await e({filename:"/www/server/panel/logs/letsencrypt.log",num:10});m.value=a.msg}catch(a){clearInterval(u.value)}}),2e3)})()})),l((()=>{clearInterval(u.value)})),(e,a)=>(r(),n("div",i,[o("pre",{innerHTML:c(m),class:"whitespace-pre-wrap p-[1rem]"},null,8,p)]))}});export{m as default};
Save File
Cancel