mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
ODR rule cleanup
This commit is contained in:
@@ -41,9 +41,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
{
|
||||
var contentTypeProvider = new FileExtensionContentTypeProvider();
|
||||
if (!contentTypeProvider.TryGetContentType(fileInfo.Name, out var contentType))
|
||||
{
|
||||
contentType = "application/octet-stream";
|
||||
}
|
||||
contentType = MediaTypeNames.Application.Octet;
|
||||
|
||||
return File(appRoute, contentType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user