diff --git a/server.py b/server.py index fe78904..9fa1aa8 100644 --- a/server.py +++ b/server.py @@ -26,7 +26,7 @@ def loadcert(): def allowed_file(filename): return '.' in filename and filename.rsplit('.', 1)[1].lower() == "pem" @app.route("/certload", methods=['GET', 'POST']) -def loadcert(): +def loadcert_backend(): if request.method == 'POST': if 'cert' not in request.files: return "Invalid request. (cert is missing!)"