From 5695b24f7f094d1cc180ac1781252644a92b8012 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 19 Dec 2021 20:43:09 -0500 Subject: feat(grfn/bbbg): Add robots.txt This'll be publicly hosted, and I don't want search engines knowing about it. Change-Id: I801217d11f6656b254698b852e5dfb4d96305a38 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4511 Reviewed-by: grfn Autosubmit: grfn Tested-by: BuildkiteCI --- users/grfn/bbbg/resources/robots.txt | 2 ++ users/grfn/bbbg/src/bbbg/web.clj | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 users/grfn/bbbg/resources/robots.txt (limited to 'users') 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) -- cgit 1.4.1