import os
from flask import abort, send_from_directory
DIRECTORY_TO_SERVE_PATH = '/where/files/are/in/disk/'

@app.route('/where/to/serve/files/<path:filename>')
def download_file(filename):
    pass
Flask : How to serve static files from template directory?