Modifiche pagina download

This commit is contained in:
michele 2025-09-24 12:50:49 +02:00
parent 06e8988463
commit afa133a8f2
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ namespace VirtualTask.Controllers
string app = "";
byte[] fileBytes = System.IO.File.ReadAllBytes(file);
var response = new FileContentResult(fileBytes, "application/octet-stream");
response.FileDownloadName = "appTest.apk";
response.FileDownloadName = "app_Virtual_Task_1_34.apk";
return response;
}

View File

@ -4,6 +4,6 @@
}
<h1>@ViewData["Title"]</h1>
<p> <a href="Download?file=wwwroot/APP/app-env_vt_1_25.apk" target="_blank">Download Android App (ver. 1.25)</a> </p>
<p> <a href="Download?file=wwwroot/APP/app-env_vt_1_34.apk" target="_blank">Download Android App (ver. 1.34)</a> </p>