Skip to content

Commit 4e8ac2b

Browse files
committed
Unify environment variables names
1 parent 0904376 commit 4e8ac2b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ http_proxy=http://proxy.example.com:8080
1515
https_proxy=https://proxy.example.com:8080
1616

1717
# Disable headless mode for Puppeteer (shows browser window)
18-
FETCHER_NO_HEADLESS=1
18+
OTA_ENGINE_FETCHER_NO_HEADLESS=1
1919

2020
# Disable Chrome sandbox (required for some Docker environments)
21-
FETCHER_NO_SANDBOX=1
21+
OTA_ENGINE_FETCHER_NO_SANDBOX=1

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ All changes that impact users of this module are documented in this file, in the
99
### Added
1010

1111
- Add proxy support for fetching documents behind firewalls or restricted networks; configure using `HTTP_PROXY` and `HTTPS_PROXY` (or `http_proxy` and `https_proxy`) environment variables
12-
- Add debugging options to disable headless mode for visual troubleshooting during development; set `FETCHER_NO_HEADLESS=1` to show browser window
13-
- Add sandbox control for improved compatibility with Docker and containerized environments; set `FETCHER_NO_SANDBOX=1` when running in containers
12+
- Add debugging options to disable headless mode for visual troubleshooting during development; set `OTA_ENGINE_FETCHER_NO_HEADLESS=1` to show browser window
13+
- Add sandbox control for improved compatibility with Docker and containerized environments; set `OTA_ENGINE_FETCHER_NO_SANDBOX=1` when running in containers
1414

1515
## 9.1.1 - 2025-10-07
1616

src/archivist/fetcher/fullDomFetcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export async function launchHeadlessBrowser() {
9494

9595
const options = {
9696
args: [],
97-
headless: !process.env.FETCHER_NO_HEADLESS,
97+
headless: !process.env.OTA_ENGINE_FETCHER_NO_HEADLESS,
9898
};
9999

100100
const { httpProxy, httpsProxy } = resolveProxyConfiguration();
@@ -110,7 +110,7 @@ export async function launchHeadlessBrowser() {
110110
options.args.push(`--proxy-server=http=${httpProxyUrl.host};https=${httpsProxyUrl.host}`);
111111
}
112112

113-
if (process.env.FETCHER_NO_SANDBOX) {
113+
if (process.env.OTA_ENGINE_FETCHER_NO_SANDBOX) {
114114
options.args.push('--no-sandbox');
115115
options.args.push('--disable-setuid-sandbox');
116116
}

0 commit comments

Comments
 (0)