@app.route('/robots.txt')
def view_robots_page():
 response = make_response()
 response.data = ROBOT_TXT
 response.content_type = 'text/plain'
 return response

@ app . route ( '/robots.txt' ) def view_robots_page ( ) : response = make_response ( ) response . data = ROBOT_TXT response . content_type = 'text/plain' return response
simple html page .