This commit is contained in:
yumoqing 2026-03-02 09:56:12 +08:00
parent 2bba4a7b20
commit 4a010a2ccd

View File

@ -216,8 +216,8 @@ class WOAHandler:
return web.Response(text=response_xml, content_type='application/xml') return web.Response(text=response_xml, content_type='application/xml')
async def setup_route(woa, app): async def setup_route(woa, app):
app.router.add_get('/woa/wechat', woa.handle_get) app.router.add_get('/woa', woa.handle_get)
app.router.add_post('/woa/wechat', woa.handle_post) app.router.add_post('/woa', woa.handle_post)
yield yield
return return