diff --git a/src/httpapi/miscpublicapi/upload.py b/src/httpapi/miscpublicapi/upload.py index faad4fe8..e165581b 100755 --- a/src/httpapi/miscpublicapi/upload.py +++ b/src/httpapi/miscpublicapi/upload.py @@ -36,7 +36,7 @@ def accept_upload(request): resp = 'failure' data = request.get_data() data_size = sys.getsizeof(data) - print(data) + if data_size < 30: resp = 'size' elif data_size < 100000000: diff --git a/static-data/default-plugins/pms/web/index.html b/static-data/default-plugins/pms/web/index.html index a878e46a..c838d30b 100755 --- a/static-data/default-plugins/pms/web/index.html +++ b/static-data/default-plugins/pms/web/index.html @@ -130,7 +130,7 @@