From: zharkovstas Date: Sun, 19 May 2019 06:32:10 +0000 (+0500) Subject: Fix routing X-Git-Url: https://git.xn--bdkaa.com/?a=commitdiff_plain;h=1a570e4e18bfa986e91c3cd0f081ad44274b31f8;p=where-are-you.py.git Fix routing --- diff --git a/app.py b/app.py index a6dad3f..d2cf0a5 100644 --- a/app.py +++ b/app.py @@ -376,13 +376,11 @@ def static_js(staticFile): def static_media(staticFile): return static_file(staticFile, "build/static/media") - -@get('/') +@get('/') @enable_cors def index(whatever): return static_file('index.html', "build") - application = bottle.default_app() from paste import httpserver