diff --git a/configuration.default.ini b/configuration.default.ini index 909991a..a1e7533 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -105,7 +105,7 @@ access_address = http://127.0.0.1:8181 flask_secret = ChangeThisPassword upload_enabled = True -maximum_upload_file_size = 30M +max_upload_file_size = 30M [debug] # Set ffmpeg to True if you want to display DEBUG level log of ffmpeg. diff --git a/configuration.example.ini b/configuration.example.ini index 1062771..e9b1635 100644 --- a/configuration.example.ini +++ b/configuration.example.ini @@ -143,7 +143,7 @@ port = 64738 # '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 +#max_upload_file_size = 30MB # [debug] stores some debug settings. [debug] diff --git a/templates/index.html b/templates/index.html index a0f56ee..c018048 100644 --- a/templates/index.html +++ b/templates/index.html @@ -328,8 +328,11 @@ {% if upload_enabled %} -
+{% else %} +