This commit is contained in:
@@ -130,7 +130,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
if (!isWindows)
|
if (!isWindows)
|
||||||
{
|
{
|
||||||
log.LogInformation($"IS NOT WINDOWS: setting executable path for chrome");
|
log.LogInformation($"IS NOT WINDOWS: setting executable path for chrome");
|
||||||
lo.ExecutablePath = "/usr/bin/chromium-browser";
|
lo.ExecutablePath = "/usr/bin/chromium-browser";//this is the default path for docker based alpine dist, but maybe not others, need to make a config setting likely
|
||||||
lo.Args = new string[] { "--no-sandbox" };
|
lo.Args = new string[] { "--no-sandbox" };
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user