From 253bc08af4beb5fa5957b44000dfac8d81c0f9dd Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 14 Jan 2025 20:44:25 -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 12e52f0..7eaee2d 100644 --- a/server.py +++ b/server.py @@ -40,7 +40,7 @@ def loadcert_backend(): random_name = ''.join(random.choice(string.ascii_lowercase+string.digits+string.ascii_uppercase) for i in range(8)) cert.save(homefolder + "/certs/" + random_name + "-chain.pem") privkey.save(homefolder + "/certs/" + random_name + "-privkey.pem") - resp = make_response('Success!

Go home

') + resp = make_response('Success!

Go home

') resp.set_cookie('certname',random_name) return resp else: