about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/grfn/bbbg/resources/robots.txt2
-rw-r--r--users/grfn/bbbg/src/bbbg/web.clj2
2 files changed, 4 insertions, 0 deletions
diff --git a/users/grfn/bbbg/resources/robots.txt b/users/grfn/bbbg/resources/robots.txt
new file mode 100644
index 000000000000..1f53798bb4fe
--- /dev/null
+++ b/users/grfn/bbbg/resources/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /
diff --git a/users/grfn/bbbg/src/bbbg/web.clj b/users/grfn/bbbg/src/bbbg/web.clj
index 2419eb23b774..e712c89378f7 100644
--- a/users/grfn/bbbg/src/bbbg/web.clj
+++ b/users/grfn/bbbg/src/bbbg/web.clj
@@ -74,6 +74,8 @@
    (GET "/main.js" []
      (-> (resource-response "main.js")
          (content-type "text/javascript")))
+   (GET "/robots.txt" []
+     (resource-response "robots.txt"))
 
    (attendees/attendees-routes env)
    (attendee-checks/attendee-checks-routes env)