Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed May 1, 2024
1 parent 634c197 commit a7a735f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/node/http.ts
Expand Up @@ -296,7 +296,7 @@ class Agent extends EventEmitter {
}

getName(options = kEmptyObject) {
let name = `${this.protocol}:${options.host || "localhost"}:`;
let name = `http:${options.host || "localhost"}:`;
if (options.port) name += options.port;
name += ":";
if (options.localAddress) name += options.localAddress;
Expand Down

0 comments on commit a7a735f

Please sign in to comment.