backend: refactor server/nodeinfo.ts #221
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor-nodeinfo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes a few type errors like removing
software.respository
inNodeInfo 2.0 and updating
metadata.repositoryUrl
to not use thenow removed meta
repositoryUrl
field.@ -83,3 +110,3 @@
};
const cache = new Cache<Awaited<ReturnType<typeof nodeinfo2>>>(1000 * 60 * 10);
const cache = new Cache<NodeInfo2Base>(10 * MINUTE);
Is this cache even necessary? Maybe we should rely on the caching of the reverse proxy more.
Does the reverse proxy cache it by default?