diff options
| author | chrislu <chris.lu@gmail.com> | 2024-02-29 06:22:39 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-02-29 06:22:39 -0800 |
| commit | 2a7028373d653d40428410a78dcb291a168ccac6 (patch) | |
| tree | e2cf43c7a1ac14e6d63ecf64aa5b9f103ab42697 /weed/command/filer.go | |
| parent | 76ae39a3630e8dd0bc1a5ff43f81f86c4acd4b23 (diff) | |
| parent | 08330575034193ef79e5a10c6049e75ceaaa75b1 (diff) | |
| download | seaweedfs-2a7028373d653d40428410a78dcb291a168ccac6.tar.xz seaweedfs-2a7028373d653d40428410a78dcb291a168ccac6.zip | |
Merge branch 'master' into mq-subscribe
Diffstat (limited to 'weed/command/filer.go')
| -rw-r--r-- | weed/command/filer.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go index cee886d18..1d8a6c4b8 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -62,6 +62,7 @@ type FilerOptions struct { downloadMaxMBps *int diskType *string allowedOrigins *string + exposeDirectoryData *bool } func init() { @@ -93,6 +94,7 @@ func init() { f.downloadMaxMBps = cmdFiler.Flag.Int("downloadMaxMBps", 0, "download max speed for each download request, in MB per second") f.diskType = cmdFiler.Flag.String("disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag") f.allowedOrigins = cmdFiler.Flag.String("allowedOrigins", "*", "comma separated list of allowed origins") + f.exposeDirectoryData = cmdFiler.Flag.Bool("exposeDirectoryData", true, "whether to return directory metadata and content in Filer UI") // start s3 on filer filerStartS3 = cmdFiler.Flag.Bool("s3", false, "whether to start S3 gateway") |
