fix: bug when reinstall plugin

This commit is contained in:
lanvent
2023-04-06 21:03:17 +08:00
parent 3c6d42b22e
commit 8b73a74609
4 changed files with 56 additions and 24 deletions

View File

@@ -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))