summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-06-14 08:02:48 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-06-14 08:02:48 +0300
commitfc5c75131c3fa4d53119646976e1d3678cfc6183 (patch)
tree42eb48a7a4c33b6bc5e48e128afe8b27fb6e7525
parenta62845291a58cc55481a1663ce2236f09bd86949 (diff)
Edit robots.txt
-rw-r--r--Services/IRobotsTxtGenerator.cs5
1 files 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();
}