app = web.Application() app.router.add_route('GET', '/', index) app.router.add_route('GET', '/hello/{name}', hello) web.run_app(app, host='127.0.0.1', port=8000)
Sign in to make a reply
六扇门捕快_