mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 13:28:11 +08:00
SSL support
This commit is contained in:
@@ -15,6 +15,13 @@ from plugins import *
|
|||||||
import traceback
|
import traceback
|
||||||
import redis
|
import redis
|
||||||
|
|
||||||
|
# If using SSL, uncomment the following lines, and modify the certificate path.
|
||||||
|
# from cheroot.server import HTTPServer
|
||||||
|
# from cheroot.ssl.builtin import BuiltinSSLAdapter
|
||||||
|
# HTTPServer.ssl_adapter = BuiltinSSLAdapter(
|
||||||
|
# certificate='/ssl/cert.pem',
|
||||||
|
# private_key='/ssl/cert.key')
|
||||||
|
|
||||||
class WechatMPServer():
|
class WechatMPServer():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user