Add custom token support
This commit is contained in:
@@ -60,7 +60,7 @@ func (c *Config) Register(s *Set) {
|
||||
|
||||
s.Size(&c.MaxTotalBytes, "max-total-bytes", "", "unlimited",
|
||||
"refuse uploads once stored data exceeds this total")
|
||||
s.Size(&c.MinFreeBytes, "min-free-bytes", "", "1GiB",
|
||||
s.Size(&c.MinFreeBytes, "min-free-bytes", "", "10GiB",
|
||||
"refuse uploads when the filesystem has less free space than this")
|
||||
s.String(&c.TokensPath, "tokens", "", "", "FILE",
|
||||
"token file location (default <data>/tokens.json)")
|
||||
|
||||
Reference in New Issue
Block a user