Browse Source

fixed content type of robots.txt

tags/2.0.6
Teknikode 3 years ago
parent
commit
580d848a37
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Controllers/DefaultController.cs

+ 1
- 1
Teknik/Controllers/DefaultController.cs View File

@@ -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