Skip to content

Commit 57b4312

Browse files
.
1 parent e1704c8 commit 57b4312

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

roles/lib/files/FWO.Report/ReportBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ public static string ToUtcString(string? timestring)
254254
using IBrowser? browser = await Puppeteer.LaunchAsync(new LaunchOptions
255255
{
256256
ExecutablePath = brw.GetExecutablePath(),
257-
Headless = true
257+
Headless = true,
258+
Args = new[ ] { "--disable-setuid-sandbox" }
258259
});
259260

260261
try

roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public async Task GeneratePdf()
5252
using IBrowser? browser = await Puppeteer.LaunchAsync(new LaunchOptions
5353
{
5454
ExecutablePath = brw.GetExecutablePath(),
55-
Headless = true
55+
Headless = true,
56+
Args = new[] { "--disable-setuid-sandbox" }
5657
});
5758

5859
try

0 commit comments

Comments
 (0)