diff --git a/app/routes.py b/app/routes.py index a0c2de6..a44563e 100644 --- a/app/routes.py +++ b/app/routes.py @@ -163,7 +163,7 @@ def getInfo(id): return worker.idInfo(id) @csrf.exempt -@app.route('//delete', methods=["POST"]) +@app.route('//delete', methods=["GET", "POST"]) def delete(id): if Config.files.find_one({"id": id}) is not None: