Skip to content

Commit ae33f4b

Browse files
committed
cri - Use CHROMIUM for env var also for headless setting
1 parent 1045f42 commit ae33f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/cri/cri.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function criClient(appPath?: string, port?: number) {
8181
const app: string = appPath || await getBrowserExecutablePath();
8282

8383
// Allow to adapt the headless mode depending on the Chrome version
84-
const headlessMode = getenv("QUARTO_CHROME_HEADLESS_MODE", "old");
84+
const headlessMode = getenv("QUARTO_CHROMIUM_HEADLESS_MODE", "old");
8585

8686
const cmd = [
8787
app,

0 commit comments

Comments
 (0)