Adding the status file to be accessed by customer
This commit is contained in:
parent
775c7a1785
commit
bf944d228e
|
@ -675,6 +675,10 @@ internal static class Program
|
|||
var s3Path = timeStamp.ToUnixTime() + ".csv";
|
||||
var request = s3Config.CreatePutRequest(s3Path);
|
||||
|
||||
// This is temporary for Wittman, but now it's for all Instalattion
|
||||
await File.WriteAllTextAsync("/var/www/html/status.csv", csv.SplitLines().Where(l => !l.Contains("Secret")).JoinLines());
|
||||
|
||||
|
||||
// Compress CSV data to a byte array
|
||||
byte[] compressedBytes;
|
||||
using (var memoryStream = new MemoryStream())
|
||||
|
|
Loading…
Reference in New Issue