mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-17 17:43:01 +08:00
fix: bug when reinstall plugin
This commit is contained in:
@@ -41,7 +41,7 @@ class WechatMPChannel(ChatChannel):
|
||||
urls = (
|
||||
'/wx', 'SubsribeAccountQuery',
|
||||
)
|
||||
app = web.application(urls, globals())
|
||||
app = web.application(urls, globals(), autoreload=False)
|
||||
port = conf().get('wechatmp_port', 8080)
|
||||
web.httpserver.runsimple(app.wsgifunc(), ('0.0.0.0', port))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user