Skip to content

Commit 29422ed

Browse files
committed
SSL support
1 parent 2da1c18 commit 29422ed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

channel/wechatmp/wechatmp_channel.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
import traceback
1616
import redis
1717

18+
# If using SSL, uncomment the following lines, and modify the certificate path.
19+
# from cheroot.server import HTTPServer
20+
# from cheroot.ssl.builtin import BuiltinSSLAdapter
21+
# HTTPServer.ssl_adapter = BuiltinSSLAdapter(
22+
# certificate='/ssl/cert.pem',
23+
# private_key='/ssl/cert.key')
24+
1825
class WechatMPServer():
1926
def __init__(self):
2027
pass

0 commit comments

Comments
 (0)