Update server.py
This commit is contained in:
parent
effd532e54
commit
fbcc11e871
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def loadcert_backend():
|
||||||
return "Invalid request. (cert is missing!)"
|
return "Invalid request. (cert is missing!)"
|
||||||
if 'privkey' not in request.files:
|
if 'privkey' not in request.files:
|
||||||
return "Invalid request. (privkey is missing!)"
|
return "Invalid request. (privkey is missing!)"
|
||||||
cert = request.files['cert'].read()
|
cert = request.files['cert']
|
||||||
privkey = request.files['privkey']
|
privkey = request.files['privkey']
|
||||||
certt = cert.read()
|
certt = cert.read()
|
||||||
privkeyy = privkey.read()
|
privkeyy = privkey.read()
|
||||||
|
|
Loading…
Add table
Reference in a new issue