1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-07 13:31:43 +01:00

Tweak capitalization / spacing in Write Freely name

This affects nodeinfo and ActivityPub requests
This commit is contained in:
Matt Baer 2018-11-08 13:37:42 -05:00
parent 254655d853
commit be31da2fe7
2 changed files with 3 additions and 2 deletions

View File

@ -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,
},
}