randydev commited on
Commit
cada965
·
verified ·
1 Parent(s): c7e6d6e

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +4 -0
index.js CHANGED
@@ -126,6 +126,10 @@ app.get("/api/v1/test", authenticateApiKey, apiLimiter, async (req, res) => {
126
  res.json({ message: "access key" });
127
  })
128
 
 
 
 
 
129
  app.post("/api/v1/revoked-key", async (req, res) => {
130
  const dbClient = new Database("AkenoXJs");
131
  const collection = dbClient.collection("api_keys");
 
126
  res.json({ message: "access key" });
127
  })
128
 
129
+ app.get("/runtime", async (req, res) => {
130
+ res.send("Running lifetime");
131
+ })
132
+
133
  app.post("/api/v1/revoked-key", async (req, res) => {
134
  const dbClient = new Database("AkenoXJs");
135
  const collection = dbClient.collection("api_keys");