correct path dist
This commit is contained in:
parent
686ec23582
commit
9bf2b5a97d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user