forked from mirrors/relay
Lowercase software name in nodeinfo
This commit is contained in:
parent
9e31fa5d3f
commit
db26ebc4ca
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ pub async fn route(config: web::Data<Config>, state: web::Data<State>) -> web::J
|
||||||
web::Json(NodeInfo {
|
web::Json(NodeInfo {
|
||||||
version: NodeInfoVersion,
|
version: NodeInfoVersion,
|
||||||
software: Software {
|
software: Software {
|
||||||
name: config.software_name(),
|
name: config.software_name().to_lowercase(),
|
||||||
version: config.software_version(),
|
version: config.software_version(),
|
||||||
},
|
},
|
||||||
protocols: vec![Protocol::ActivityPub],
|
protocols: vec![Protocol::ActivityPub],
|
||||||
|
|
Loading…
Reference in a new issue