aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2017-06-15 12:07:13 +0200
committerRahiel Kasim <rahielkasim@gmail.com>2017-06-15 12:07:13 +0200
commit50b44ecf8e3bdc504d4385191babf9e1a529a423 (patch)
treeed711e55f2a2570bcb0b528a20e37447e6f48011
parent53f7043cc6c4e85d5b83484ab136c29bcd33958f (diff)
change API location
-rw-r--r--api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index 0221752..de3c888 100644
--- a/api.py
+++ b/api.py
@@ -37,5 +37,5 @@ class API(web.View):
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
session = aiohttp.ClientSession()
app = web.Application()
-app.router.add_route("*", "/api", API)
+app.router.add_route("*", "/", API)
web.run_app(app)