robots
This commit is contained in:
@@ -67,7 +67,7 @@ namespace DotNetMashup.Web.Controllers
|
|||||||
return View("~/Views/Shared/Error.cshtml");
|
return View("~/Views/Shared/Error.cshtml");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("sitemap.xml")]
|
[Route("sitemap")]
|
||||||
public async Task sitemap()
|
public async Task sitemap()
|
||||||
{
|
{
|
||||||
Response.ContentType = "text/xml";
|
Response.ContentType = "text/xml";
|
||||||
|
|||||||
1
src/DotNetMashup.Web/wwwroot/robots.txt
Normal file
1
src/DotNetMashup.Web/wwwroot/robots.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
User-agent: *
|
||||||
Reference in New Issue
Block a user