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)