From ecf537fdca168b2acf3b0ee6fae1f5a2c78aafee Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Thu, 15 Jun 2023 07:32:35 +0300 Subject: Move robots.txt to Razor Pages --- Pages/Robots.txt.cshtml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Pages/Robots.txt.cshtml (limited to 'Pages') 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 -- cgit v1.2.3