From: drumlinish <138327213+drumlinish@users.noreply.github.com>
Date: Mon, 10 Jul 2023 14:17:24 +0000 (+0200)
Subject: Disallow /modlog since it is not relevant for bots (#1850)
X-Git-Url: http://these/git/%7B%60%24%7BarchiveTodayUrl%7D/%24%7B%60data:application/static/git-logo.png?a=commitdiff_plain;h=1774ecdf6ce3603422a6d33ac50a034bd2aeb6ab;p=lemmy-ui.git

Disallow /modlog since it is not relevant for bots (#1850)
---

diff --git a/src/server/handlers/robots-handler.ts b/src/server/handlers/robots-handler.ts
index 80678aa..f26ddc9 100644
--- a/src/server/handlers/robots-handler.ts
+++ b/src/server/handlers/robots-handler.ts
@@ -15,5 +15,6 @@ export default async ({ res }: { res: Response }) => {
   Disallow: /admin
   Disallow: /password_change
   Disallow: /search/
+  Disallow: /modlog
   `);
 };