From fc5c75131c3fa4d53119646976e1d3678cfc6183 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 14 Jun 2023 08:02:48 +0300 Subject: [PATCH] Edit robots.txt --- Services/IRobotsTxtGenerator.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Services/IRobotsTxtGenerator.cs b/Services/IRobotsTxtGenerator.cs index a238a8e..22bc5a7 100644 --- a/Services/IRobotsTxtGenerator.cs +++ b/Services/IRobotsTxtGenerator.cs @@ -13,8 +13,9 @@ public class RobotsTxtGenerator : IRobotsTxtGenerator { StringBuilder stringBuilder = new(); stringBuilder.AppendLine("user-agent: *"); - stringBuilder.AppendLine("disallow: /freedom"); - stringBuilder.AppendLine("disallow: /Account/"); + stringBuilder.AppendLine("Disallow: /freedom"); + stringBuilder.AppendLine("Disallow: /Account/"); + stringBuilder.AppendLine("Disallow: /account/"); return stringBuilder.ToString(); }