Move Host config value from Server -> App

This commit is contained in:
Matt Baer
2018-10-27 17:02:40 -04:00
parent ad3b813690
commit e6f1291189
5 changed files with 7 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ type nodeInfoResolver struct {
func nodeInfoConfig(cfg *config.Config) *nodeinfo.Config {
name := cfg.App.SiteName
return &nodeinfo.Config{
BaseURL: cfg.Server.Host,
BaseURL: cfg.App.Host,
InfoURL: "/api/nodeinfo",
Metadata: nodeinfo.Metadata{