summaryrefslogtreecommitdiff
path: root/RobotsTxtGenerator.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-06-14 08:22:20 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-06-14 08:22:20 +0300
commit3655495dfdb1c0024eafa4efe3d6ab745e087af0 (patch)
treeb1d535098b2f88a94945bb552df4cb0a9787b7cc /RobotsTxtGenerator.cs
parent57f7cb28a5288ea280be793776998af94773f7fe (diff)
Fix namespaces
Diffstat (limited to 'RobotsTxtGenerator.cs')
-rw-r--r--RobotsTxtGenerator.cs17
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();
- }
-}