Fixed error when setting max file size on 32-Bit systems
This commit is contained in:
parent
2169464983
commit
b81cd6128a
19 changed files with 369 additions and 16 deletions
|
|
@ -153,6 +153,7 @@ ratelimit:
|
|||
files:
|
||||
# The path where files are stored
|
||||
basepath: ./files # relative to the binary
|
||||
# The maximum size of a file, in bytes.
|
||||
maxsize: 21474836480 # 20 MB
|
||||
# The maximum size of a file, as a human-readable string.
|
||||
# Warning: The max size is limited 2^64-1 bytes due to the underlying datatype
|
||||
maxsize: 20MB
|
||||
{{< /highlight >}}
|
||||
|
|
|
|||
Reference in a new issue