Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Stop robots.txt blocking files named blame
Without the trailing slash the rules also matched any path segment that
starts with blame or snapshot, such as /repo/tree/blame.c. Every link
cgit makes to the two pages ends the name with a slash.
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/robots.txt | 4 |
1 file changed, 2 insertions, 2 deletions
diff --git a/assets/robots.txt b/assets/robots.txt index 81f7779..207fc89 100644 --- a/assets/robots.txt +++ b/assets/robots.txt @@ -1,3 +1,3 @@ User-agent: * -Disallow: /*/snapshot -Disallow: /*/blame +Disallow: /*/snapshot/ +Disallow: /*/blame/ |
