This commit is contained in:
Mateusz779 2023-04-07 13:28:20 +02:00
parent 6a77d8d606
commit e225eb63e4

2
app.py
View File

@ -7,7 +7,7 @@ app = Flask(__name__)
app.config['UPLOAD_FOLDER'] = "configs/squash"
app.config['MAX_CONTENT_LENGTH'] = 1024 * 1024 * 512 #512MB
@app.route("api/addimage", methods=['POST'])
@app.route("/api/addimage", methods=['POST'])
def add_image():
db.Connect()
name = None