]> Untitled Git - lemmy.git/commit
Change NodeInfo `links` to an array
authorAlexander Batischev <eual.jp@gmail.com>
Sun, 21 Nov 2021 17:10:39 +0000 (20:10 +0300)
committerAlexander Batischev <eual.jp@gmail.com>
Sun, 21 Nov 2021 17:10:39 +0000 (20:10 +0300)
commitd53d229c49fcd979f39e9c9cfac9b5f137b8e884
treef89ff5bb0e1d1ad7a0739c7ea65248790ec0bc1a
parentffc898a7b80e587e6fa5f075ff7f43f6d2725bff
Change NodeInfo `links` to an array

NodeInfo spec[1] says that _.well-known/nodeinfo_ is a JSON Resource
Descriptor (JRD) document. That is specified in RFC 7033, where ยง4.4[2]
mandates that `links` is an array.

1. https://nodeinfo.diaspora.software/protocol.html
2. https://datatracker.ietf.org/doc/html/rfc7033#section-4.4
crates/routes/src/nodeinfo.rs