mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 03:20:17 +00:00
Tweak capitalization / spacing in Write Freely name
This affects nodeinfo and ActivityPub requests
This commit is contained in:
parent
254655d853
commit
be31da2fe7
2 changed files with 3 additions and 2 deletions
2
app.go
2
app.go
|
@ -25,7 +25,7 @@ const (
|
|||
assumedTitleLen = 80
|
||||
postsPerPage = 10
|
||||
|
||||
serverSoftware = "Write Freely"
|
||||
serverSoftware = "WriteFreely"
|
||||
softwareURL = "https://writefreely.org"
|
||||
softwareVer = "0.1"
|
||||
)
|
||||
|
|
|
@ -4,6 +4,7 @@ import (
|
|||
"github.com/writeas/go-nodeinfo"
|
||||
"github.com/writeas/web-core/log"
|
||||
"github.com/writeas/writefreely/config"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type nodeInfoResolver struct {
|
||||
|
@ -35,7 +36,7 @@ func nodeInfoConfig(cfg *config.Config) *nodeinfo.Config {
|
|||
Outbound: []nodeinfo.NodeService{},
|
||||
},
|
||||
Software: nodeinfo.SoftwareInfo{
|
||||
Name: serverSoftware,
|
||||
Name: strings.ToLower(serverSoftware),
|
||||
Version: softwareVer,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue