function makeLinks(base, links) {
  const result = {};
  for (const [rel, path] of Object.entries(links)) {
    result[rel] = { href: base + path };
  }
  return result;
}
module.exports = makeLinks; 