Update server.py
This commit is contained in:
parent
dd5c2920f2
commit
4ccfbd1668
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue