aboutsummaryrefslogtreecommitdiffstats
path: root/robots.txt
diff options
context:
space:
mode:
authorJune McEnroe2019-12-18 21:30:12 +0000
committerYigit Sever2023-07-21 03:03:49 +0300
commit1c9e818ddb4ad4601f3180cd9163625bd087f03a (patch)
tree8c27ec40c2f0a5e00c412dfed05360a340e12992 /robots.txt
parentcafd9178eb039f859fbdc85c5c006331e3222f33 (diff)
downloadcgit-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.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/robots.txt b/robots.txt
index 4ce948f..1b33266 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1,3 +1,4 @@
1User-agent: * 1User-agent: *
2Disallow: /*/snapshot/* 2Disallow: /*/snapshot/*
3Disallow: /*/blame/*
3Allow: / 4Allow: /