Skip to content

Commit f81eb1f

Browse files
fix: don't use HELIX_FETCH_FORCE_HTTP1 (other projects might use this)
1 parent be71be5 commit f81eb1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/bundler/ESBuildBundler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class ESBuildBundler extends BaseBundler {
7777
build.onResolve(
7878
{ filter: /^@adobe\/helix-universal$/ },
7979
(args) => {
80-
const cwd = (process.env.HELIX_FETCH_FORCE_HTTP1 === 'true')
80+
const cwd = (process.env.HELIX_DEPLOY_USE_LOCAL === 'true')
8181
// for testing use "our" @adobe/helix-universal dependency
8282
? path.resolve(__dirname, '..', '..')
8383
// for production use @adobe/helix-universal (and its dependencies)

test/setup-env.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { fileURLToPath } from 'url';
1515
// eslint-disable-next-line no-console
1616
console.log('Forcing HTTP/1.1 for @adobe/fetch');
1717
process.env.HELIX_FETCH_FORCE_HTTP1 = 'true';
18+
process.env.HELIX_DEPLOY_USE_LOCAL = 'true';
1819

1920
// eslint-disable-next-line no-underscore-dangle
2021
global.__rootdir = path.resolve(fileURLToPath(import.meta.url), '..', '..');

0 commit comments

Comments
 (0)