From 64f789885c0904bab8dad15e1cfe373d86161b78 Mon Sep 17 00:00:00 2001
From: jwansek <eddie.atten.ea29@gmail.com>
Date: Fri, 12 Mar 2021 19:49:50 +0000
Subject: added robots.txt

---
 app.py                      |   6 +++++-
 static/images/minecraft.png | Bin 0 -> 27516 bytes
 static/robots.txt           |   2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100755 static/images/minecraft.png
 create mode 100755 static/robots.txt

diff --git a/app.py b/app.py
index c77d55f..edc69b3 100644
--- a/app.py
+++ b/app.py
@@ -62,6 +62,10 @@ def index():
                 commits = db.get_cached_commits(since = datetime.datetime.now() - datetime.timedelta(days = 7))
             )
 
+@app.route("/robots.txt")
+def robots():
+    return flask.send_from_directory("static", "robots.txt")
+
 @app.route("/discord")
 def discord():
     with database.Database() as db:
@@ -196,4 +200,4 @@ if __name__ == "__main__":
         else:
             app.run(host = "0.0.0.0", port = 5001, debug = True)
     except IndexError:
-        app.run(host = "0.0.0.0", port = 5001, debug = True)
\ No newline at end of file
+        app.run(host = "0.0.0.0", port = 5001, debug = True)
diff --git a/static/images/minecraft.png b/static/images/minecraft.png
new file mode 100755
index 0000000..19210d2
Binary files /dev/null and b/static/images/minecraft.png differ
diff --git a/static/robots.txt b/static/robots.txt
new file mode 100755
index 0000000..8093c87
--- /dev/null
+++ b/static/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow:
\ No newline at end of file
-- 
cgit v1.2.3