Modifiche pagina download
This commit is contained in:
parent
06e8988463
commit
afa133a8f2
@ -68,7 +68,7 @@ namespace VirtualTask.Controllers
|
|||||||
string app = "";
|
string app = "";
|
||||||
byte[] fileBytes = System.IO.File.ReadAllBytes(file);
|
byte[] fileBytes = System.IO.File.ReadAllBytes(file);
|
||||||
var response = new FileContentResult(fileBytes, "application/octet-stream");
|
var response = new FileContentResult(fileBytes, "application/octet-stream");
|
||||||
response.FileDownloadName = "appTest.apk";
|
response.FileDownloadName = "app_Virtual_Task_1_34.apk";
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,6 @@
|
|||||||
}
|
}
|
||||||
<h1>@ViewData["Title"]</h1>
|
<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>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user