diff options
author | June McEnroe | 2019-12-18 21:30:12 +0000 |
---|---|---|
committer | Yigit Sever | 2023-07-21 03:03:49 +0300 |
commit | 1c9e818ddb4ad4601f3180cd9163625bd087f03a (patch) | |
tree | 8c27ec40c2f0a5e00c412dfed05360a340e12992 /robots.txt | |
parent | cafd9178eb039f859fbdc85c5c006331e3222f33 (diff) | |
download | cgit-1c9e818ddb4ad4601f3180cd9163625bd087f03a.tar.gz cgit-1c9e818ddb4ad4601f3180cd9163625bd087f03a.tar.bz2 cgit-1c9e818ddb4ad4601f3180cd9163625bd087f03a.zip |
ui-tree,ui-blame: bail from blame if blob is binary
This avoids piping binary blobs through the source-filter. Also prevent
robots from crawling it, since it's expensive.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'robots.txt')
-rw-r--r-- | robots.txt | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,3 +1,4 @@ | |||
1 | User-agent: * | 1 | User-agent: * |
2 | Disallow: /*/snapshot/* | 2 | Disallow: /*/snapshot/* |
3 | Disallow: /*/blame/* | ||
3 | Allow: / | 4 | Allow: / |