From 47eb9bbff97a78814407352eb6a81d8c77a7d55d Mon Sep 17 00:00:00 2001 From: Ian Ross Date: Wed, 4 Sep 2024 10:45:08 -0500 Subject: [PATCH] Hit v2 for metrics --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d383b0b..ede53f2 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ } $(document).ready(function() { - $.get("https://xdd.wisc.edu/api/v1/metrics/basic", function(data) { + $.get("https://xdd.wisc.edu/api/v2/metrics/basic", function(data) { $('#totalDocs').html(commaize(data.success.data.total)) $('#monthlyDocs').html(commaize(data.success.data.lastMonth)) $('#weeklyDocs').html(commaize(data.success.data.lastWeek))