probably not fixed
This commit is contained in:
@@ -13,5 +13,5 @@ def index():
|
|||||||
@app.route('/images/<path:filename>')
|
@app.route('/images/<path:filename>')
|
||||||
def send_image(filename):
|
def send_image(filename):
|
||||||
#filename = os.path.join('resources', 'blooper.jpg')
|
#filename = os.path.join('resources', 'blooper.jpg')
|
||||||
return send_from_directory('resources', filename)
|
return send_from_directory('/resources/', filename)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user