From 1a570e4e18bfa986e91c3cd0f081ad44274b31f8 Mon Sep 17 00:00:00 2001 From: zharkovstas Date: Sun, 19 May 2019 11:32:10 +0500 Subject: [PATCH] Fix routing --- app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.50.1