// public/assets/http.js
/* English comments: shared JSON fetch with auth refresh */

(function () {
  async function apiJson(path, opts = {}) {
    return window.Api.request(path, opts);
  }

  window.Http = {
    apiJson,
  };
})();
