mirror of
https://github.com/jackeilles/xygt.git
synced 2024-12-27 02:00:51 +01:00
Add "GET" to methods
This commit is contained in:
parent
6828e5f71d
commit
658cc5cd5d
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ def getInfo(id):
|
|||
return worker.idInfo(id)
|
||||
|
||||
@csrf.exempt
|
||||
@app.route('/<id>/delete', methods=["POST"])
|
||||
@app.route('/<id>/delete', methods=["GET", "POST"])
|
||||
def delete(id):
|
||||
if Config.files.find_one({"id": id}) is not None:
|
||||
|
||||
|
|
Loading…
Reference in a new issue