This commit is contained in:
2020-08-25 21:46:21 +00:00
parent 6c7faff512
commit 69548bd6d0

View File

@@ -130,7 +130,7 @@ namespace AyaNova.Api.Controllers
if (!isWindows)
{
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" };
}
else