diff --git a/.gitignore b/.gitignore index a7155cb..a2c3f9e 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ locale-data.json lte/ nonlte/ *.csv +*.xlsx *.zip back-end/clusterCoordinate.json front-end/Map_marker.svg:Zone.Identifier diff --git a/back-end/routes.py b/back-end/routes.py index 2eef0c7..96007e6 100755 --- a/back-end/routes.py +++ b/back-end/routes.py @@ -165,6 +165,7 @@ def submit_data(folderid): result = task_chain.apply_async() if folderid != -1: + folderVal = folder_ops.get_folder_with_id(folderid=folderid, session=session) deadline = folderVal.deadline else: deadline_str = request.form.get('deadline') diff --git a/nginx.conf.prod b/nginx.conf.prod index 51ac317..943d85a 100644 --- a/nginx.conf.prod +++ b/nginx.conf.prod @@ -22,7 +22,7 @@ server { ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'; # Set the maximum allowed size for client request bodies (e.g., 100M for 100 megabytes) - client_max_body_size 100M; + client_max_body_size 500M; # Enabling gzip compression for better performance. gzip on;