1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-08 14:02:26 +01:00

Set PublicReader value in nodeinfo

This commit is contained in:
Matt Baer 2019-01-29 19:07:12 -05:00
parent 261a6fefd6
commit 88e7cea28b

View File

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