Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jkyberneees committed Dec 7, 2024
1 parent 04547fd commit d444b2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions demos/consistent-hashing.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ConsistentHash = require('consistent-hash')
const targets = [
'http://localhost:3000',
'http://localhost:3001',
'http://localhost:3002',
'http://localhost:3002'
]

const consistentHash = new ConsistentHash()
Expand All @@ -23,9 +23,9 @@ gateway({

return proxy(req, res, url, proxyOpts)
},
prefix: '/api',
},
],
prefix: '/api'
}
]
})
.start(8080)
.then(() => console.log('API Gateway listening on 8080 port!'))
Expand Down

0 comments on commit d444b2a

Please sign in to comment.