docs: function cors(response) {
    if (response) {
      const headers = response.headers || {};
      headers["Access-Control-Allow-Origin"] = "*"; // Required for CORS support to work
      headers["Access-Control-Allow-Credentials"] = true;  // Required for cookies, authorization headers with HTTPS
      response.headers = headers;
    }
    return response;
  }