From fbcc11e8711d8ac614386f284fc426637f3b4214 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 21:52: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 0e79adf..2fb0771 100644 --- a/server.py +++ b/server.py @@ -32,7 +32,7 @@ def loadcert_backend(): return "Invalid request. (cert is missing!)" if 'privkey' not in request.files: return "Invalid request. (privkey is missing!)" - cert = request.files['cert'].read() + cert = request.files['cert'] privkey = request.files['privkey'] certt = cert.read() privkeyy = privkey.read()