normalize webdav

This commit is contained in:
A.Unger
2021-11-08 12:32:52 +01:00
parent 185cee04e9
commit 8c2a681937
5 changed files with 23 additions and 126 deletions
+1 -7
View File
@@ -24,13 +24,7 @@ func Server(cfg *config.Config) *cli.Command {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
}
if err := ParseConfig(ctx, cfg); err != nil {
return err
}
logger := NewLogger(cfg)
logger.Debug().Str("service", "webdav").Msg("ignoring config file parsing when running supervised")
return nil
return ParseConfig(ctx, cfg)
},
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)