fix login form from tutorial (also maybe fixed image)

This commit is contained in:
2019-08-19 22:21:14 -05:00
parent b19a44a6e9
commit f9bb7329a3
3 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -29,5 +29,5 @@ def getstatus():
@app.route('/images/blooper.jpg')
def send_image():
#filename = os.path.join('resources', 'blooper.jpg')
return send_from_directory('/resources/', 'blooper.jpg', as_attachment=True)
return send_from_directory('/../resources/', 'blooper.jpg', as_attachment=True)