Update index.js
Browse files
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");
|