From 1df92aac368360affd8c24a621b3a1d550a3faf4 Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Wed, 17 Apr 2024 01:42:05 +0900 Subject: [PATCH] RobotsTxt: fix typo And remove redundant rule. Bug: N/A Signed-off-by: Yongmin Hong --- PhabExt/PhabricatorCustomRobotsTxtController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PhabExt/PhabricatorCustomRobotsTxtController.php b/PhabExt/PhabricatorCustomRobotsTxtController.php index eab79ee..ca5435a 100644 --- a/PhabExt/PhabricatorCustomRobotsTxtController.php +++ b/PhabExt/PhabricatorCustomRobotsTxtController.php @@ -18,7 +18,6 @@ public function processRequest() { $out[] = 'Disallow: /source/'; $out[] = 'Disallow: /multimeter/'; $out[] = 'Disallow: /file/'; - $out[] = 'Disallow: /project/ sprint'; $out[] = 'Disallow: /policy/explain'; $out[] = 'Disallow: /auth'; $out[] = 'Disallow: /login'; @@ -40,7 +39,7 @@ public function processRequest() { $out[] = 'Disallow: /P*%24*'; $out[] = 'Disallow: /phame'; // This is blog entries (J$) - $out[] = 'Disallow: J*%24*'; + $out[] = 'Disallow: /J*%24*'; // This is user list. // As of 2024-04-17 user list is behind auth but who knows it might change? $out[] = '/people';