Set PublicReader value in nodeinfo

pull/81/head
Matt Baer 6 years ago
parent 261a6fefd6
commit 88e7cea28b
  1. 3
      nodeinfo.go

@ -48,7 +48,8 @@ func nodeInfoConfig(db *datastore, cfg *config.Config) *nodeinfo.Config {
GitHub: "https://github.com/writeas/writefreely",
Follow: "https://writing.exchange/@write_as",
},
MaxBlogs: cfg.App.MaxBlogs,
MaxBlogs: cfg.App.MaxBlogs,
PublicReader: cfg.App.LocalTimeline,
},
Protocols: []nodeinfo.NodeProtocol{
nodeinfo.ProtocolActivityPub,

Loading…
Cancel
Save