diff --git a/serve.py b/serve.py index a8fe294..abc24d3 100755 --- a/serve.py +++ b/serve.py @@ -47,6 +47,7 @@ def serve(root, port, run_browser): 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): context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) context.load_cert_chain(certfile, keyfile)