allow to disable SFTP service

Fixes #228
This commit is contained in:
Nicola Murino
2020-11-24 13:44:57 +01:00
parent 99cd1ccfe5
commit 0609188d3f
9 changed files with 112 additions and 48 deletions

View File

@@ -73,7 +73,7 @@ type Configuration struct {
// Initialize configures and starts the WebDav server
func (c *Configuration) Initialize(configDir string) error {
var err error
logger.Debug(logSender, "", "initializing WevDav server with config %+v", *c)
logger.Debug(logSender, "", "initializing WebDAV server with config %+v", *c)
mimeTypeCache = mimeCache{
maxSize: c.Cache.MimeTypes.MaxSize,
mimeTypes: make(map[string]string),