Created hitomi-dev.html

This commit is contained in:
tom5079
2022-01-04 18:02:42 +09:00
parent 263f438e4b
commit 6947f61052
4 changed files with 26 additions and 1 deletions

11
https-server.py Normal file
View File

@@ -0,0 +1,11 @@
from http.server import HTTPServer, BaseHTTPRequestHandler
import ssl
httpd = HTTPServer(('localhost', 4443), BaseHTTPRequestHandler)
httpd.socket = ssl.wrap_socket (httpd.socket,
keyfile="key.pem",
certfile='cert.pem', server_side=True)
httpd.serve_forever()