@@ -163,7 +163,7 @@ def homepage():
@app.route('/robots.txt')
def robots():
- return "User-agent: *\nDisallow: /target/\nDisallow: /result/"
+ return app.send_static_file("robots.txt")
@app.route('/submit', methods=['POST'])
def submit_job():
@@ -0,0 +1,3 @@
+User-agent: *
+Disallow: /target/
+Disallow: /result/