From 13303e4e24210682f8f5eb341f07940e66531e6a Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 16 Dec 2024 17:47:36 -0700 Subject: [PATCH] Change /analytics to /api/analytics --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c84b7e8..86facda 100644 --- a/index.js +++ b/index.js @@ -593,7 +593,7 @@ app.get("/discord", (req, res) => { }); }); -app.get("/analytics", (req, res) => { +app.get("/api/analytics", (req, res) => { db.all("SELECT * FROM analytics", (err, total) => { if (err) { console.error('Error getting analytics:', err);