RobotsTxt: fix comment error

Whoopsie.

Bug: Ref T43
Signed-off-by: Yongmin Hong <revi@omglol.email>
This commit is contained in:
revi 2024-04-16 21:17:47 +09:00
parent b931e41135
commit c4eb4aba4e
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94

View file

@ -9,9 +9,9 @@ public function shouldRequireLogin() {
public function processRequest() { public function processRequest() {
$out = array(); $out = array();
$out[] = '# Forked from phabricator.wikimedia, we.phorge.it'; $out[] = '# Forked from phabricator.wikimedia.org, we.phorge.it';
$out[] = '# version: 20240416T203000+0900'; $out[] = '# version: 20240416T211100+0900';
$out[] = '# also at https://bugs.revi.xyz/P49'; $out[] = '# also at https://github.com/revi/sandbox.git';
$out[] = 'User-Agent: *'; $out[] = 'User-Agent: *';
$out[] = 'Disallow: /diffusion/'; $out[] = 'Disallow: /diffusion/';
$out[] = 'Disallow: /source/'; $out[] = 'Disallow: /source/';
@ -36,7 +36,7 @@ public function processRequest() {
$out[] = 'Disallow: /r*'; $out[] = 'Disallow: /r*';
$out[] = 'Disallow: /P*%24*'; $out[] = 'Disallow: /P*%24*';
$out[] = '# This is cloudflare endpoint'; $out[] = '# This is cloudflare endpoint';
$out[] = 'https://developers.cloudflare.com/fundamentals/reference/cdn-cgi-endpoint/'; $out[] = '# Ref: https://developers.cloudflare.com/fundamentals/reference/cdn-cgi-endpoint/';
$out[] = 'Disallow: /cdn-cgi/'; $out[] = 'Disallow: /cdn-cgi/';
$out[] = '# Google Ads are not welcome'; $out[] = '# Google Ads are not welcome';
$out[] = 'User-agent: Mediapartners-Google'; $out[] = 'User-agent: Mediapartners-Google';