]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RobotsTxt.php
Update function / rearrange tab order
[friendica.git] / src / Module / RobotsTxt.php
index 415a8ab4720861d345fd1536503540def3f3a43e..a084c1f4a6caf97c168b501e7df2f2daa11a8b86 100644 (file)
@@ -38,6 +38,8 @@ class RobotsTxt extends BaseModule
                        '/search',
                        '/help',
                        '/proxy',
+                       '/photo',
+                       '/avatar',
                ];
 
                header('Content-Type: text/plain');
@@ -50,6 +52,10 @@ class RobotsTxt extends BaseModule
                echo 'User-agent: ChatGPT-User' . PHP_EOL;
                echo 'Disallow: /' . PHP_EOL;
 
+               echo PHP_EOL;
+               echo 'User-agent: GPTBot' . PHP_EOL;
+               echo 'Disallow: /' . PHP_EOL;
+
                System::exit();
        }
 }