From c9a28d9022b77940fa0546b7f452565645db1745 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 21:43:04 -0800 Subject: [PATCH] Update server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 4e8cffd..171ab94 100644 --- a/server.py +++ b/server.py @@ -36,6 +36,7 @@ def loadcert_backend(): privkey = request.files['privkey'] if cert.filename == '' or privkey.filename == '': return "Please upload a certificate and private key." + print(cert.read()) if allowed_file(cert.filename) and allowed_file(privkey.filename): for i in os.listdir(homefolder + "/certs/"): thisname = "-".join(i.split("-")[:-1])