Migrated hosts.txt and robots.txt

This commit is contained in:
str4d
2012-12-11 08:37:35 +00:00
parent 94d7a30d1b
commit 55cda206d9
3 changed files with 12 additions and 0 deletions

View File

@@ -509,6 +509,18 @@ def blog_atom():
return feed.get_response() return feed.get_response()
############
# Root files
@app.route('/hosts.txt')
def hosts():
return send_from_directory(STATIC_DIR, 'hosts.txt', mimetype='text/plain')
@app.route('/robots.txt')
def robots():
return send_from_directory(STATIC_DIR, 'robots.txt', mimetype='text/plain')
############## ##############
# Legacy paths # Legacy paths