@app.route('/static/<subdir>/<path:filename>/')
def static_subdir(subdir=None, filename=None):
    directory = app.config['STATIC_FOLDER'] + subdir
return send_from_directory(directory, filename)
URL routing conflicts for static files in Flask dev server