aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-19 21:06:54 -0700
committerAdam Soltys <[email protected]>2020-07-19 21:06:54 -0700
commit25029c1cf9b585f6354f9277c0f036e608c4bce7 (patch)
treec9d33b372ae53351df8d6865b3ef72d283daf95d /lib
parentf15a66797c3aef69d7290e7a577f554470cd5d86 (diff)
downloadcoinos-server-25029c1cf9b585f6354f9277c0f036e608c4bce7.tar.gz
coinos-server-25029c1cf9b585f6354f9277c0f036e608c4bce7.zip
change binance endpoint
Diffstat (limited to 'lib')
-rw-r--r--lib/binance.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/binance.js b/lib/binance.js
index a93c7c38..1951d820 100644
--- a/lib/binance.js
+++ b/lib/binance.js
@@ -1,7 +1,7 @@
const WebSocket = require("ws");
module.exports = () => {
- binance = new WebSocket("wss://fstream.binance.com/ws/btcusdt@ticker");
+ binance = new WebSocket("wss://stream.binance.com:9443/ws/btcusdt@ticker");
binance.onmessage = async function (event) {
try {