Replace string with System.Net.Mime.MediaTypeNames.Application.Octet
This commit is contained in:
parent
766be6c929
commit
3e71bdfef3
@ -149,7 +149,7 @@ namespace Oqtane.Controllers
|
|||||||
}
|
}
|
||||||
zipfile = memoryStream.ToArray();
|
zipfile = memoryStream.ToArray();
|
||||||
}
|
}
|
||||||
return File(zipfile, "application/octet-stream", "oqtane.zip");
|
return File(zipfile, System.Net.Mime.MediaTypeNames.Application.Octet, "oqtane.zip");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user