FIX route prefix

This commit is contained in:
boyska 2017-12-08 21:53:38 +01:00
parent 1e4a5fc791
commit f48c246ad3

View file

@ -174,7 +174,8 @@ def rpc_wip():
def create_app(queue, larigira):
app = Flask('larigira')
app = Flask('larigira',
static_url_path=get_conf()['ROUTE_PREFIX'] + '/static')
app.config.update(get_conf())
Bootstrap(app)
app.register_blueprint(rpc)