Skip to content

Commit 3056dda

Browse files
committed
ref(utils): fix test
1 parent ad20921 commit 3056dda

File tree

1 file changed

+2
-2
lines changed
  • packages/node/src/transports/base

1 file changed

+2
-2
lines changed

packages/node/src/transports/base/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ export abstract class BaseTransport implements Transport {
9696
return proxy;
9797
}
9898

99-
const { host, port } = this._api.dsn;
99+
const { hostname, port } = this._api.dsn;
100100
for (const np of no_proxy.split(',')) {
101-
if (host.endsWith(np) || `${host}:${port}`.endsWith(np)) {
101+
if (hostname.endsWith(np) || `${hostname}:${port}`.endsWith(np)) {
102102
return;
103103
}
104104
}

0 commit comments

Comments
 (0)