mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-09 00:55:34 +00:00
2 lines
265 B
JavaScript
2 lines
265 B
JavaScript
import{du as r,db as t,cQ as n,l as a}from"./card-7cd05290.js";const e=async(e,s,i,l)=>{if(!i.sign)return i.endpoint;let c;try{c=await r(s,i.endpoint,l)}catch(r){return t(r),null}return c?c.replace(/^http/i,"ws"):(n(e,a("error.failed_sign")),null)};export{e as g};
|