Skip to content

Commit d444b2a

Browse files
committed
linting
1 parent 04547fd commit d444b2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

demos/consistent-hashing.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ConsistentHash = require('consistent-hash')
88
const targets = [
99
'http://localhost:3000',
1010
'http://localhost:3001',
11-
'http://localhost:3002',
11+
'http://localhost:3002'
1212
]
1313

1414
const consistentHash = new ConsistentHash()
@@ -23,9 +23,9 @@ gateway({
2323

2424
return proxy(req, res, url, proxyOpts)
2525
},
26-
prefix: '/api',
27-
},
28-
],
26+
prefix: '/api'
27+
}
28+
]
2929
})
3030
.start(8080)
3131
.then(() => console.log('API Gateway listening on 8080 port!'))

0 commit comments

Comments
 (0)