docs: add README.md for wechatcomapp channel

This commit is contained in:
lanvent
2023-04-20 08:43:17 +08:00
parent d2bf90c6c7
commit 3e9e8d442a
2 changed files with 34 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ class WechatComAppChannel(ChatChannel):
def startup(self):
# start message listener
urls = ("/wxcom", "channel.wechatcom.wechatcomapp_channel.Query")
urls = ("/wxcomapp", "channel.wechatcom.wechatcomapp_channel.Query")
app = web.application(urls, globals(), autoreload=False)
port = conf().get("wechatcomapp_port", 8080)
web.httpserver.runsimple(app.wsgifunc(), ("0.0.0.0", port))