archive
/
catfish
Archived
1
Fork 0

Use aiohttp application rather than server

We can do some route checking stuff later
This commit is contained in:
Jake Howard 2018-12-15 14:48:10 +00:00
parent eec4e46f3e
commit 9ac2e60843
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ async def handle_request(request):
def get_server():
return web.Server(handle_request)
application = web.Application()
application.router.add_route("*", r"/{path:.*}", handle_request)
return application
async def start_router(loop, port):