more instructions
dependencies hashes: openFrameworks d78075f4bca6be2a2533c6e51a75cc1f18404501 ofxMsdfgen e14da13d02c4dff04fb69d7923469f606924e6c3 ofxGPUFont d482bb7cbdf6b296fa4ab5abcf73fb5ff8c8b239 ofxVariableLab 8df98846248a93aa068989a3ebd0d2f0f16e5e69 ofxProfiler fa1d70e6a5fae16633eed2ce65fb8b23f2edbbb8 -----> watch out ofxProfiler has uncommitted changes! theatre 86d3e07f6f2c75fd6e08fca8c97e3617c9e23b18
This commit is contained in:
parent
b80f73558b
commit
28fb7e2198
1 changed files with 1 additions and 0 deletions
1
serve.py
1
serve.py
|
@ -47,6 +47,7 @@ def serve(root, port, run_browser):
|
||||||
|
|
||||||
print(f"using {certfile} and {keyfile} for ssl")
|
print(f"using {certfile} and {keyfile} for ssl")
|
||||||
|
|
||||||
|
# NOTE: read README.md for more instructions if you want a CA
|
||||||
if os.path.exists(certfile) and os.path.exists(keyfile):
|
if os.path.exists(certfile) and os.path.exists(keyfile):
|
||||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
|
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
|
||||||
context.load_cert_chain(certfile, keyfile)
|
context.load_cert_chain(certfile, keyfile)
|
||||||
|
|
Loading…
Reference in a new issue