diff --git a/server.py b/server.py index 22a8c06..36fcdf3 100644 --- a/server.py +++ b/server.py @@ -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(): diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..f10c467 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file