Skip to content

Commit b701705

Browse files
committed
need to use * wildcard in noProxy
1 parent 11748f9 commit b701705

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-http2-allow-http1-upgrade-ws.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const WebSocketServer = require('../common/websocket-server');
2626
const ws = new WebSocket(`wss://localhost:${server.address().port}`, {
2727
dispatcher: new undici.EnvHttpProxyAgent({
2828
connect: { rejectUnauthorized: false },
29-
noProxy: 'localhost',
29+
noProxy: '*',
3030
})
3131
});
3232
ws.addEventListener('open', common.mustCall(() => {

test/parallel/test-inspector-network-fetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ undici.setGlobalDispatcher(new undici.EnvHttpProxyAgent({
1818
connect: {
1919
rejectUnauthorized: false,
2020
},
21-
noProxy: 'localhost',
21+
noProxy: '*',
2222
}));
2323

2424
const session = new inspector.Session();

0 commit comments

Comments
 (0)