From c4eb4aba4e8f395f30b7173766f2fcf312d285ed Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Tue, 16 Apr 2024 21:17:47 +0900 Subject: [PATCH] RobotsTxt: fix comment error Whoopsie. Bug: Ref T43 Signed-off-by: Yongmin Hong --- PhabExt/PhabricatorCustomRobotsTxtController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PhabExt/PhabricatorCustomRobotsTxtController.php b/PhabExt/PhabricatorCustomRobotsTxtController.php index 917ecc7..7c54273 100644 --- a/PhabExt/PhabricatorCustomRobotsTxtController.php +++ b/PhabExt/PhabricatorCustomRobotsTxtController.php @@ -9,9 +9,9 @@ public function shouldRequireLogin() { public function processRequest() { $out = array(); - $out[] = '# Forked from phabricator.wikimedia, we.phorge.it'; - $out[] = '# version: 20240416T203000+0900'; - $out[] = '# also at https://bugs.revi.xyz/P49'; + $out[] = '# Forked from phabricator.wikimedia.org, we.phorge.it'; + $out[] = '# version: 20240416T211100+0900'; + $out[] = '# also at https://github.com/revi/sandbox.git'; $out[] = 'User-Agent: *'; $out[] = 'Disallow: /diffusion/'; $out[] = 'Disallow: /source/'; @@ -36,7 +36,7 @@ public function processRequest() { $out[] = 'Disallow: /r*'; $out[] = 'Disallow: /P*%24*'; $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[] = '# Google Ads are not welcome'; $out[] = 'User-agent: Mediapartners-Google';