BigW Consortium Gitlab

usage_ping.js 240 Bytes
Newer Older
1
export default function UsagePing() {
Sean McGivern committed
2
  const usageDataUrl = $('.usage-data').data('endpoint');
3

Sean McGivern committed
4 5 6 7 8 9 10 11 12
  $.ajax({
    type: 'GET',
    url: usageDataUrl,
    dataType: 'html',
    success(html) {
      $('.usage-data').html(html);
    },
  });
}