Signed-off-by: kirill <kirill.milkin05@mail.ru>
pull/3/head
kirill 2 years ago
parent 2a0189e892
commit 3dbb0257ae
  1. 3
      demo/routes.py

@ -6,7 +6,6 @@ def setup_routes(app):
app.router.add_routes([aiohttp.web.get('/index.html', frontend.index), app.router.add_routes([aiohttp.web.get('/index.html', frontend.index),
aiohttp.web.post('/submit', frontend.button_clicked), aiohttp.web.post('/submit', frontend.button_clicked),
aiohttp.web.get('/index_2.html', frontend.index_2), aiohttp.web.get('/index_2.html', frontend.index_2),
aiohttp.web.get('/ws', frontend.websocket_handler) aiohttp.web.get('/ws', frontend.websocket_handler),]
]
) )
Loading…
Cancel
Save