diff options
Diffstat (limited to 'RobotsTxtGenerator.cs')
-rw-r--r-- | RobotsTxtGenerator.cs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/RobotsTxtGenerator.cs b/RobotsTxtGenerator.cs deleted file mode 100644 index 8417f6f..0000000 --- a/RobotsTxtGenerator.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Text; - -namespace MyDarling.Controllers; - -public class RobotsTxtGenerator : IRobotsTxtGenerator -{ - public string GetRobotsText() - { - StringBuilder stringBuilder = new(); - stringBuilder.AppendLine("user-agent: *"); - stringBuilder.AppendLine("Disallow: /freedom"); - stringBuilder.AppendLine("Disallow: /Account/"); - stringBuilder.AppendLine("Disallow: /account/"); - - return stringBuilder.ToString(); - } -} |