Fix nodeinfo, expose peers

This commit is contained in:
asonix
2020-03-20 15:35:08 -05:00
parent 8efb00dc72
commit 43280f30fe
3 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ impl Config {
UrlKind::Following => format!("{}://{}/following", scheme, self.hostname),
UrlKind::Inbox => format!("{}://{}/inbox", scheme, self.hostname),
UrlKind::MainKey => format!("{}://{}/actor#main-key", scheme, self.hostname),
UrlKind::NodeInfo => format!("{}://{}/nodeinfo/2.0", scheme, self.hostname),
UrlKind::NodeInfo => format!("{}://{}/nodeinfo/2.0.json", scheme, self.hostname),
UrlKind::Outbox => format!("{}://{}/outbox", scheme, self.hostname),
}
}