Explorar o código

Block search engines via robots.txt (#631)

Prevents instances from being rate limited due to being senselessly
crawled by search engines. Since there is no reason to index Nitter
instances, simply block all robots. Notably, this does *not* affect link
previews (e.g. in various chat software).
minus %!s(int64=4) %!d(string=hai) anos
pai
achega
c543a1df8c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      public/robots.txt

+ 2 - 0
public/robots.txt

@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /