public
Created

Dirty fix for Flask's bug with static files.

  • Download Gist
gistfile1.py
Python
1 2 3 4
# default is the blueprint object
@default.route('/files/<path:path>')
def files(path):
return default.send_static_file(path)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.