mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
add robots.txt
This commit is contained in:
@@ -503,6 +503,10 @@ class Anonymous_Github:
|
||||
if repo_name == clean_github_repository(data['repository']):
|
||||
repo = data
|
||||
return render_template('index.html', repo=repo)
|
||||
|
||||
@application.route('/robots.txt')
|
||||
def robots():
|
||||
return application.send_static_file('robots.txt')
|
||||
|
||||
@application.route('/', methods=['POST'])
|
||||
def add_repository():
|
||||
|
||||
Reference in New Issue
Block a user