Fixed error when setting max file size on 32-Bit systems

This commit is contained in:
kolaente 2019-10-18 17:30:25 +02:00
parent 2169464983
commit b81cd6128a
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
19 changed files with 369 additions and 16 deletions

View file

@ -197,7 +197,7 @@ func InitDefaultConfig() {
RateLimitStore.setDefault("memory")
// Files
FilesBasePath.setDefault("files")
FilesMaxSize.setDefault(21474836480) // 20 MB
FilesMaxSize.setDefault("20MB")
}
// InitConfig initializes the config, sets defaults etc.