diff --git a/MP.Stats/Pages/Download.cshtml.cs b/MP.Stats/Pages/Download.cshtml.cs
index ae4167a9..2556693b 100644
--- a/MP.Stats/Pages/Download.cshtml.cs
+++ b/MP.Stats/Pages/Download.cshtml.cs
@@ -40,7 +40,8 @@ namespace MP.Stats.Pages
{
fileName = Request.Query["fileName"];
}
- var filePath = Path.Combine(_env.WebRootPath, "..\\temp\\", fileName);
+ var filePath = Path.Combine(_env.ContentRootPath, fileName);
+ //var filePath = Path.Combine(_env.WebRootPath, "..\\temp\\", fileName);
byte[] fileBytes = System.IO.File.ReadAllBytes(filePath);