feat: add config item for maximum upload file size

This commit is contained in:
Terry Geng
2020-05-19 09:12:52 +08:00
parent aca002d08d
commit fae93d99e0
6 changed files with 50 additions and 11 deletions

View File

@ -140,6 +140,11 @@ port = 64738
# !! YOU NEED TO CHANGE IT IF auth_method IS 'token'!!
# flask_secret = ChangeThisPassword
# 'upload_enabled': Enable the upload function of the web interface.
# 'maximum_upload_file_size': Unit can be 'B', 'KB', 'MB', 'GB', 'TB'.
#upload_enabled = True
#maximum_upload_file_size = 30MB
# [debug] stores some debug settings.
[debug]
# 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.