bug
This commit is contained in:
parent
6a77d8d606
commit
e225eb63e4
2
app.py
2
app.py
@ -7,7 +7,7 @@ app = Flask(__name__)
|
|||||||
app.config['UPLOAD_FOLDER'] = "configs/squash"
|
app.config['UPLOAD_FOLDER'] = "configs/squash"
|
||||||
app.config['MAX_CONTENT_LENGTH'] = 1024 * 1024 * 512 #512MB
|
app.config['MAX_CONTENT_LENGTH'] = 1024 * 1024 * 512 #512MB
|
||||||
|
|
||||||
@app.route("api/addimage", methods=['POST'])
|
@app.route("/api/addimage", methods=['POST'])
|
||||||
def add_image():
|
def add_image():
|
||||||
db.Connect()
|
db.Connect()
|
||||||
name = None
|
name = None
|
||||||
|
Loading…
Reference in New Issue
Block a user