Change /analytics to /api/analytics

This commit is contained in:
Christopher Cookman 2024-12-16 17:47:36 -07:00
parent 4ef5664510
commit 13303e4e24

View file

@ -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) => { db.all("SELECT * FROM analytics", (err, total) => {
if (err) { if (err) {
console.error('Error getting analytics:', err); console.error('Error getting analytics:', err);