From 4ccfbd1668f0ae03072eeb80a30c19a850edaf61 Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 14 Jan 2025 19:18:23 -0800 Subject: [PATCH] Update server.py --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 9bc4788..69ac69a 100644 --- a/server.py +++ b/server.py @@ -18,7 +18,8 @@ def external(): @app.route("/cross-server.png") def crosserver(): return send_file("cross-server.png") -@app.route("/gencert.zip"): +@app.route("/gencert.zip") +def gencert(): random_name = str(uuid.uuid4()) k = crypto.PKey() k.generate_key(crypto.TYPE_RSA, 1024)