Compare commits

...

2 Commits

Author SHA1 Message Date
atef bde392e35d Merge remote-tracking branch 'origin/main' 2024-05-21 11:19:26 +02:00
atef bf944d228e Adding the status file to be accessed by customer 2024-05-21 11:19:16 +02:00
1 changed files with 4 additions and 0 deletions

View File

@ -676,6 +676,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())