diff options
-rw-r--r-- | Services/IRobotsTxtGenerator.cs | 5 |
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(); } |