mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 17:44:33 +00:00
fix: add proxy-bypass regression + changelog (#31469) (thanks @widingmarcus-cyber)
This commit is contained in:
@@ -20,6 +20,11 @@ describe("cdp-proxy-bypass", () => {
|
||||
expect(agent).toBeInstanceOf(https.Agent);
|
||||
});
|
||||
|
||||
it("returns https.Agent for https://127.0.0.1 URLs", () => {
|
||||
const agent = getDirectAgentForCdp("https://127.0.0.1:9222/json/version");
|
||||
expect(agent).toBeInstanceOf(https.Agent);
|
||||
});
|
||||
|
||||
it("returns http.Agent for ws://[::1] URLs", () => {
|
||||
const agent = getDirectAgentForCdp("ws://[::1]:9222");
|
||||
expect(agent).toBeInstanceOf(http.Agent);
|
||||
|
||||
Reference in New Issue
Block a user