upload files

This commit is contained in:
xingzhe.ru
2025-06-30 16:23:34 +00:00
parent c11bcd5d26
commit 36558dfb85
8 changed files with 240 additions and 0 deletions

View File

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