Fixed bug introduced in aa1ceb7739
This commit is contained in:
@ -7,7 +7,7 @@ import os
|
|||||||
|
|
||||||
import flask
|
import flask
|
||||||
|
|
||||||
staticBP = flask.Blueprint('staticPage', __name__, static_folder='./www/')
|
staticBP = flask.Blueprint('staticPage', __name__, static_folder='../www/')
|
||||||
|
|
||||||
@staticBP.route('/', defaults={'path': 'index.html'})
|
@staticBP.route('/', defaults={'path': 'index.html'})
|
||||||
@staticBP.route('/<path:path>')
|
@staticBP.route('/<path:path>')
|
||||||
|
|||||||
Reference in New Issue
Block a user