Compare commits
4 Commits
25cd1944e1
...
1b2592ed32
Author | SHA1 | Date |
---|---|---|
|
1b2592ed32 | 2 years ago |
|
740dfbcf51 | 2 years ago |
|
e1a15fa389 | 2 years ago |
|
c3ab24044f | 2 years ago |
@ -1,7 +1,6 @@ |
|||||||
from .views import frontend |
from .views import frontend |
||||||
import aiohttp |
import aiohttp |
||||||
|
|
||||||
|
|
||||||
def setup_routes(app): |
def setup_routes(app): |
||||||
app.router.add_routes( |
app.router.add_routes([aiohttp.web.get('/', frontend.index), aiohttp.web.post('/button-clicked', frontend.button_clicked)]) |
||||||
[aiohttp.web.get('/', frontend.index), aiohttp.web.post('/button-clicked', frontend.button_clicked)]) |
|
Loading…
Reference in new issue