@app.route('/robots.txt')
@app.route('/sitemap.xml')
def static_from_root():
    return send_from_directory(app.static_folder, request.path[1:])
With Flask, how can I serve robots.txt and sitemap.xml as static files?