Files
aa/Scripts/lsblk.ts

8 lines
227 B
TypeScript

fetch('https://html.affirm.duckdns.org/lsblk.json')
.then((res:any) => res.text())
.then((text:any) => {
const data = JSON.parse(text);
console.log(data);
})
.catch((e:any) => console.error(e));