Created
February 16, 2020 19:34
-
-
Save ashokc/d3ade021796536deabfca1b52c4305d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@app.route('/css/<path:path>') | |
def css(path): | |
return send_from_directory(app.static_folder + '/css/', path, mimetype='text/css') | |
@app.route('/images/<path:path>') | |
def image(path): | |
return send_from_directory(app.static_folder + '/images/', path, mimetype='image/jpg') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment