| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web30/web/backup/resources/ |
Upload File : |
import{s as a}from"./service-DfnCLkIR.js";import{_ as n,G as c,r as i,o as e,c as r,w as m,b as h,n as p,t as u,e as d}from"./index-UxwdVxub.js";const l={name:"Ping",mixins:[a],props:{item:Object},components:{Generic:c},data:()=>({status:null}),created(){this.fetchStatus()},methods:{fetchStatus:async function(){const t=typeof this.item.method=="string"?this.item.method.toUpperCase():"HEAD";if(!["GET","HEAD","OPTION"].includes(t)){console.error(`Ping: ${t} is not a supported HTTP method`);return}this.fetch("/",{method:t,cache:"no-cache"},!1).then(()=>{this.status="online"}).catch(()=>{this.status="offline"})}}};function f(t,_,s,g,C,G){const o=i("Generic");return e(),r(o,{item:s.item},{indicator:m(()=>[t.status?(e(),h("div",{key:0,class:p(["status",t.status])},u(t.status),3)):d("",!0)]),_:1},8,["item"])}const v=n(l,[["render",f],["__scopeId","data-v-25516c40"]]);export{v as default};