correct path dist

This commit is contained in:
vincent 2019-04-29 17:05:00 +02:00
parent 686ec23582
commit 9bf2b5a97d

View File

@ -11,7 +11,7 @@ def create_app(app_name=__name__):
app.register_blueprint(api, url_prefix="/api/v1")
@app.route('/')
@app.route('/<path:path>')
def index(path):
def index(path="/"):
return render_template('index.html')
return app