Update server.py

This commit is contained in:
Nova Cat 2025-01-14 19:18:23 -08:00
parent dd5c2920f2
commit 4ccfbd1668

View file

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