Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Dirty fix for Flask's bug with static files.

View gist:1180217
1 2 3 4
# default is the blueprint object
@default.route('/files/<path:path>')
def files(path):
return default.send_static_file(path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.