mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 12:21:31 +08:00
Update and rename status to status.js
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
const data = response.data;
|
||||
const status = data.online;
|
||||
console.log(status);
|
||||
|
||||
let description = '';
|
||||
if (Object.keys(data)[0] == "online") {
|
||||
description = `Status: ${Object.keys(data)[0]} <br> Guests: ${status.guests} <br>Registered: ${status.registered} <br> Other: ${status.other} <br>Total: ${status.total} <br> Fa Server Time: ${data.fa_server_time} <br> Fa Server Time at: ${data.fa_server_time_at} `;
|
||||
Reference in New Issue
Block a user