Commit 042ea57e authored by Zachary Dunn's avatar Zachary Dunn

Update nodeinfo endpoint

parent 3b3be350
......@@ -109,7 +109,8 @@ pub fn nodeinfo(site: State<Site>) -> Content<String> {
"version": 2.0,
"software": {
"name": env!("CARGO_PKG_NAME"),
"version": env!("CARGO_PKG_VERSION")
"version": env!("CARGO_PKG_VERSION"),
"repository": env!("CARGO_PKG_REPOSITORY"),
},
"protocols": ["webmention"],
"services": {
......@@ -125,8 +126,8 @@ pub fn nodeinfo(site: State<Site>) -> Content<String> {
},
"metadata": {
"nodeName": &site.name,
"nodeDescription": &site.description,
"software": {
"repo": env!("CARGO_PKG_REPOSITORY"),
"homepage": env!("CARGO_PKG_HOMEPAGE")
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment