Browse Source

fixed content type of robots.txt

pull/50/head
Teknikode 6 years ago
parent
commit
580d848a37
  1. 2
      Teknik/Controllers/DefaultController.cs

2
Teknik/Controllers/DefaultController.cs

@ -75,7 +75,7 @@ namespace Teknik.Controllers @@ -75,7 +75,7 @@ namespace Teknik.Controllers
{
// Get favicon
string file = Server.MapPath(Constants.ROBOTS_PATH);
return File(file, "plain/text");
return File(file, "text/plain");
}
[HttpGet]

Loading…
Cancel
Save