diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-20T01·43-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-20T01·46+0000 |
commit | 5695b24f7f094d1cc180ac1781252644a92b8012 (patch) | |
tree | baaf2a8e299a636bcd318b159f9a1765cc5c250d /users/grfn/bbbg | |
parent | b05a1d1e05d327824e770f2d632b21b7ccf32276 (diff) |
feat(grfn/bbbg): Add robots.txt r/3317
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 <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/bbbg')
-rw-r--r-- | users/grfn/bbbg/resources/robots.txt | 2 | ||||
-rw-r--r-- | users/grfn/bbbg/src/bbbg/web.clj | 2 |
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) |