Skip to content

Commit b5c9c6e

Browse files
committed
Revert "ref(utils): fix test"
This reverts commit 13cf627.
1 parent 3056dda commit b5c9c6e

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

0 commit comments

Comments
 (0)