diff --git a/woa/init.py b/woa/init.py index 1775c77..63a1579 100644 --- a/woa/init.py +++ b/woa/init.py @@ -216,8 +216,8 @@ class WOAHandler: return web.Response(text=response_xml, content_type='application/xml') async def setup_route(woa, app): - app.router.add_get('/woa/wechat', woa.handle_get) - app.router.add_post('/woa/wechat', woa.handle_post) + app.router.add_get('/woa', woa.handle_get) + app.router.add_post('/woa', woa.handle_post) yield return