From 55eb92c9a17c649aa09d9c40fcb4e1896d8a1d1e Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 14 Jan 2025 20:38:09 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!)"