Skip to content

Commit

Permalink
Update packages/agent/src/agent/http/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock authored Apr 30, 2024
1 parent 167667d commit 36a51ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agent/src/agent/http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export class HttpAgent implements Agent {
new ExponentialBackoff({
maxIterations: this.#retryTimes,
});
this.#backoffStrategy = options.backoffStrategy ?? defaultBackoffFactory;
this.#backoffStrategy = options.backoffStrategy || defaultBackoffFactory;
// Rewrite to avoid redirects
if (this._host.hostname.endsWith(IC0_SUB_DOMAIN)) {
this._host.hostname = IC0_DOMAIN;
Expand Down

0 comments on commit 36a51ec

Please sign in to comment.