aboutsummaryrefslogtreecommitdiff
path: root/build/index.js
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-05-28 22:11:24 -0500
committermat <github@matdoes.dev>2021-05-28 22:11:24 -0500
commit4ab2f45ff3767c3deb4b79cfc343f492941847b0 (patch)
tree25b70a885cab99faf3db84b228abc7e27ecb9005 /build/index.js
parente16599d7a2691b482034d40505eff435f400e5f6 (diff)
downloadskyblock-api-4ab2f45ff3767c3deb4b79cfc343f492941847b0.tar.gz
skyblock-api-4ab2f45ff3767c3deb4b79cfc343f492941847b0.tar.bz2
skyblock-api-4ab2f45ff3767c3deb4b79cfc343f492941847b0.zip
add more useful stuff to index
Diffstat (limited to 'build/index.js')
-rw-r--r--build/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/index.js b/build/index.js
index e6ecf13..4644fed 100644
--- a/build/index.js
+++ b/build/index.js
@@ -55,7 +55,9 @@ app.get('/', async (req, res) => {
const currentTime = Date.now();
res.json({
ok: true,
- uptimeHours: (currentTime - startTime) / 1000 / 60 / 60
+ uptimeHours: (currentTime - startTime) / 1000 / 60 / 60,
+ finishedCachingRawLeaderboards: database_1.finishedCachingRawLeaderboards,
+ finishedCachingAllLeaderboards: database_1.finishedCachingAllLeaderboards
});
});
app.get('/player/:user', async (req, res) => {