Mercurial > gemma
changeset 2906:ae678f7cf938
Removed irritatting parts from config doc strings.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 02 Apr 2019 16:55:10 +0200 |
parents | 818ec1265772 |
children | ab0a829735f6 |
files | pkg/config/config.go |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/config/config.go Tue Apr 02 16:52:25 2019 +0200 +++ b/pkg/config/config.go Tue Apr 02 16:55:10 2019 +0200 @@ -140,7 +140,6 @@ } // ProxyPrefix is the prefix used in generated URLs by the proxy. -// It defauls to http://${WebHost}:${WebPort}". // You may need to set this if you run gemma behind a proxy // on a specific domain. func ProxyPrefix() string { @@ -156,7 +155,6 @@ } // ExternalURL is the URL to find this server from the outside. -// It defauls to http://${WebHost}:${WebPort}". func ExternalURL() string { fetchExternal := func() { if externalURL == "" { @@ -183,7 +181,7 @@ return sessionTimeout } -// The root directories where to find schema files. +// SchemaDirs are the root directories where to find schema files. func SchemaDirs() string { return viper.GetString("schema-dirs") } // RootCmd is cobra command to be bound th the cobra/viper infrastructure.