clean up and add comments

This commit is contained in:
David Christofas
2020-03-10 14:47:42 +01:00
parent d8c359332b
commit 2a587b37c8
5 changed files with 42 additions and 9 deletions
+8 -1
View File
@@ -139,7 +139,14 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Value: "/tmp/ocis-thumbnails/",
Usage: "Root path of the filesystem storage directory",
EnvVars: []string{"THUMBNAILS_FILESYSTEMSTORAGE_ROOT"},
Destination: &cfg.FilesystemStorage.RootDirectory,
Destination: &cfg.FileSystemStorage.RootDirectory,
},
&cli.StringFlag{
Name: "webdavsource-baseurl",
Value: "http://localhost:9140/remote.php/webdav/",
Usage: "Base url for a webdav api",
EnvVars: []string{"THUMBNAILS_WEBDAVSOURCE_BASEURL"},
Destination: &cfg.WebDavSource.BaseURL,
},
}
}