Update server.py

This commit is contained in:
Nova Cat 2025-01-15 21:52:09 -08:00
parent effd532e54
commit fbcc11e871

View file

@ -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()