mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 03:20:17 +00:00
Include max number of blogs in nodeinfo
This commit is contained in:
parent
11de25237d
commit
13bf5b6638
2 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
package writefreely
|
||||
|
||||
import (
|
||||
"github.com/writeas/go-nodeinfo"
|
||||
"github.com/writeas/web-core/log"
|
||||
"github.com/writeas/writefreely/config"
|
||||
"github.com/writefreely/go-nodeinfo"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
@ -38,6 +38,7 @@ 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,
|
||||
},
|
||||
Protocols: []nodeinfo.NodeProtocol{
|
||||
nodeinfo.ProtocolActivityPub,
|
||||
|
|
|
@ -2,10 +2,10 @@ package writefreely
|
|||
|
||||
import (
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/writeas/go-nodeinfo"
|
||||
"github.com/writeas/go-webfinger"
|
||||
"github.com/writeas/web-core/log"
|
||||
"github.com/writeas/writefreely/config"
|
||||
"github.com/writefreely/go-nodeinfo"
|
||||
"net/http"
|
||||
"strings"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue