dashboard-core/theme/dbd-soft-ui/pages/get/getshards.js

9 lines
181 B
JavaScript
Raw Permalink Normal View History

2023-06-19 14:21:58 +05:00
module.exports = {
2023-06-22 19:36:52 +05:00
page: "/shards/get",
execute: async (req, res, app, config, themeConfig, info, db) => {
const returned = await db.get("stats");
2023-06-19 14:21:58 +05:00
2023-06-22 19:36:52 +05:00
res.json(returned);
},
};