mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-02 08:49:29 -05:00
add ocs to new config scheme
This commit is contained in:
@@ -22,6 +22,9 @@ func WebDAVCommand(cfg *config.Config) *cli.Command {
|
||||
Subcommands: []*cli.Command{
|
||||
command.PrintVersion(cfg.WebDAV),
|
||||
},
|
||||
Before: func(ctx *cli.Context) error {
|
||||
return ParseConfig(ctx, cfg)
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
origCmd := command.Server(configureWebDAV(cfg))
|
||||
return handleOriginalAction(c, origCmd)
|
||||
|
||||
Reference in New Issue
Block a user