Merge pull request 'Try fix compile error when enable -Dno_number_autocast' (#1) from zw963/file-uploader-crystal:main into main
Reviewed-on: https://codeberg.org/Fijxu/file-uploader-crystal/pulls/1
This commit is contained in:
commit
2058c600bc
1 changed files with 3 additions and 3 deletions
|
@ -7,15 +7,15 @@ class Config
|
||||||
property thumbnails : String = "./thumbnails"
|
property thumbnails : String = "./thumbnails"
|
||||||
property db : String = "./db.sqlite3"
|
property db : String = "./db.sqlite3"
|
||||||
property db_table_name : String = "files"
|
property db_table_name : String = "files"
|
||||||
property filename_length : Int8 = 3
|
property filename_length : Int32 = 3
|
||||||
# In MiB
|
# In MiB
|
||||||
property size_limit : Int16 = 512
|
property size_limit : Int16 = 512
|
||||||
property port : UInt16 = 8080
|
property port : Int32 = 8080
|
||||||
property unix_socket : String?
|
property unix_socket : String?
|
||||||
property delete_files_after : Int32 = 7
|
property delete_files_after : Int32 = 7
|
||||||
# How often should the check of old files be performed? (in seconds)
|
# How often should the check of old files be performed? (in seconds)
|
||||||
property delete_files_after_check_seconds : Int32 = 1800
|
property delete_files_after_check_seconds : Int32 = 1800
|
||||||
property delete_key_length : Int8 = 4
|
property delete_key_length : Int32 = 4
|
||||||
# Blocked extensions that are not allowed to be uploaded to the server
|
# Blocked extensions that are not allowed to be uploaded to the server
|
||||||
property blocked_extensions : Array(String) = [] of String
|
property blocked_extensions : Array(String) = [] of String
|
||||||
property siteInfo : String = "xd"
|
property siteInfo : String = "xd"
|
||||||
|
|
Loading…
Reference in a new issue