feat(start of server): added the start of server data
This commit is contained in:
@@ -118,6 +118,7 @@ const main = async () => {
|
||||
"http://localhost:3001",
|
||||
"http://localhost:4000",
|
||||
"http://localhost:4001",
|
||||
"http://localhost:5500",
|
||||
env.BETTER_AUTH_URL, // prod
|
||||
];
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ router.get("/", async (req, res) => {
|
||||
|
||||
const statData = data as ServerStats[];
|
||||
const used = process.memoryUsage();
|
||||
|
||||
res.json({
|
||||
status: "ok",
|
||||
uptime: process.uptime(),
|
||||
|
||||
Reference in New Issue
Block a user