summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-09-03 00:13:28 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-09-03 00:13:28 +0800
commit59df8df7e7b1deeb14f79a1bfb2985f8ce3a13cd (patch)
tree85b727ead65754ce8ef6dcee8098962e8b702e7f /index.py
parentaacb76cf7b034bf16ebf4b25aae4473d958d89ec (diff)
fixed responed 413
Diffstat (limited to 'index.py')
-rw-r--r--index.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.py b/index.py
index 59a90c4..6c10480 100644
--- a/index.py
+++ b/index.py
@@ -1,6 +1,8 @@
from flask import Flask, request
import requests
+app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
+
app = Flask(__name__)
# Set up the necessary variables