]> Untitled Git - lemmy-ui.git/commitdiff
Disallow /modlog since it is not relevant for bots (#1850)
authordrumlinish <138327213+drumlinish@users.noreply.github.com>
Mon, 10 Jul 2023 14:17:24 +0000 (16:17 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 14:17:24 +0000 (10:17 -0400)
src/server/handlers/robots-handler.ts

index 80678aa08ada73b4c1906633ca17aeb567d16c68..f26ddc922f61f019ecd589eae3cb04af37b273c9 100644 (file)
@@ -15,5 +15,6 @@ export default async ({ res }: { res: Response }) => {
   Disallow: /admin
   Disallow: /password_change
   Disallow: /search/
+  Disallow: /modlog
   `);
 };