Skip to content

Commit

Permalink
DOC: Update outdated https link in WebServer code
Browse files Browse the repository at this point in the history
  • Loading branch information
pieper authored and lassoan committed Feb 17, 2024
1 parent e3daed2 commit 41d2192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Scripted/WebServer/WebServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def __init__(self,
self.docroot = docroot
self.timeout = 1.0
if certfile and keyfile:
# https://stackoverflow.com/questions/19705785/python-3-simple-https-server
# https://docs.python.org/3/library/ssl.html#ssl.SSLContext.wrap_socket
import ssl
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
context.load_cert_chain(certfile, keyfile)
Expand Down

0 comments on commit 41d2192

Please sign in to comment.