Skip to content

Commit

Permalink
Merge pull request #39 from UW-xDD/dev/v2_metrics
Browse files Browse the repository at this point in the history
Hit v2 for metrics
  • Loading branch information
iross authored Sep 4, 2024
2 parents e641d7e + 47eb9bb commit 90a1596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 90a1596

Please sign in to comment.