summaryrefslogtreecommitdiff
path: root/Pages
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-06-15 07:32:35 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-06-15 07:32:35 +0300
commitecf537fdca168b2acf3b0ee6fae1f5a2c78aafee (patch)
treeeb52b03b9c2aea1434e8d819c627a11dc62ccb84 /Pages
parent3655495dfdb1c0024eafa4efe3d6ab745e087af0 (diff)
Move robots.txt to Razor Pages
Diffstat (limited to 'Pages')
-rw-r--r--Pages/Robots.txt.cshtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Pages/Robots.txt.cshtml b/Pages/Robots.txt.cshtml
new file mode 100644
index 0000000..54c25f2
--- /dev/null
+++ b/Pages/Robots.txt.cshtml
@@ -0,0 +1,9 @@
+@page
+@{
+ Layout = null;
+ this.Response.ContentType = "text/plain";
+}
+User-agent: *
+Disallow: /freedom
+Disallow: /account
+Disallow: /Account \ No newline at end of file