Update index.js
Browse files415 unmodified lines416417418419419420421422423424425426425426427428429415 unmodified lines const host = 'https://' + req.get('host'); const end = Date.now(); // Selesai menghitung waktu const latency = (end - start).toFixed(4) + ' ms'; // Menghitung latency const latency = (end - start) + ' ms'; // Menghitung latency
res.json({ creator: `@${process.env['SPACE_AUTHOR_NAME'] || 'ALOK FF'}`, message: 'Hello World!', uptime: new Date(process.uptime() * 1000).toUTCString().split(' ')[4], status, latency, // Menambahkan latency ke JSON latency, status, // Menambahkan latency ke JSON "list": [ { "title": "BING AI",index.js+3-3