diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-06-14 08:22:20 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-06-14 08:22:20 +0300 |
commit | 3655495dfdb1c0024eafa4efe3d6ab745e087af0 (patch) | |
tree | b1d535098b2f88a94945bb552df4cb0a9787b7cc /RobotsTxtGenerator.cs | |
parent | 57f7cb28a5288ea280be793776998af94773f7fe (diff) |
Fix namespaces
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(); - } -} |