add wallet channel
This commit is contained in:
13
web/simple-https-server.py
Normal file
13
web/simple-https-server.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# https://blog.anvileight.com/posts/simple-python-http-server/#python-3-x
|
||||
|
||||
from http.server import HTTPServer, SimpleHTTPRequestHandler
|
||||
import ssl
|
||||
|
||||
|
||||
httpd = HTTPServer(('localhost', 4443), SimpleHTTPRequestHandler)
|
||||
|
||||
httpd.socket = ssl.wrap_socket (httpd.socket,
|
||||
keyfile="localhost.key",
|
||||
certfile='localhost.crt', server_side=True)
|
||||
|
||||
httpd.serve_forever()
|
Reference in New Issue
Block a user