mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Block Yandex in robots.txt
This commit is contained in:
parent
0a81ef90d6
commit
c323e2f8d5
1 changed files with 5 additions and 1 deletions
|
@ -63,7 +63,11 @@ export const Constants = {
|
||||||
},
|
},
|
||||||
POLL_TWEET_CACHE: 'max-age=60',
|
POLL_TWEET_CACHE: 'max-age=60',
|
||||||
DEFAULT_COLOR: '#10A3FF',
|
DEFAULT_COLOR: '#10A3FF',
|
||||||
ROBOTS_TXT: `User-agent: *
|
ROBOTS_TXT: `# Yandex crawls far, far heavier than Googlebot and Bingbot combined
|
||||||
|
User-agent: YandexBot
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
User-agent: *
|
||||||
Allow: /$
|
Allow: /$
|
||||||
Allow: /*/status
|
Allow: /*/status
|
||||||
Allow: /*/status/
|
Allow: /*/status/
|
||||||
|
|
Loading…
Add table
Reference in a new issue