Skip to content

Commit

Permalink
ref(utils): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Dec 17, 2021
1 parent 61feeeb commit 13cf627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node/src/transports/base/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ export abstract class BaseTransport implements Transport {
return proxy;
}

const { host, port } = this._api.dsn;
const { hostname, port } = this._api.dsn;
for (const np of no_proxy.split(',')) {
if (host.endsWith(np) || `${host}:${port}`.endsWith(np)) {
if (hostname.endsWith(np) || `${hostname}:${port}`.endsWith(np)) {
return;
}
}
Expand Down

0 comments on commit 13cf627

Please sign in to comment.