Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeanAsad committed Oct 30, 2023
1 parent 1323c88 commit 918669c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export class Saturn {

let nodes = options.nodes
if (!nodes || nodes.length === 0) {
const replacementUrl = options.node ?? { url: this.opts.cdnURL }
nodes = [replacementUrl]
const replacementNode = options.node ?? { url: this.opts.cdnURL }
nodes = [replacementNode]
}
const controllers = []

Expand Down

0 comments on commit 918669c

Please sign in to comment.