| 123456789 |
- const GW = 'http://106.120.102.238:28084'
- for (const p of ['/api/fleet', '/web/detail_v2.html', '/detail/v2', '/']) {
- try {
- const r = await fetch(GW + p)
- const b = await r.text()
- console.log(p.padEnd(22) + ' -> ' + r.status + ' ' + b.length + ' B')
- } catch (e) { console.log(p.padEnd(22) + ' -> ERR ' + String(e).slice(0, 60)) }
- }
|