We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ed917 commit 84a9da0Copy full SHA for 84a9da0
1 file changed
lib/Socket.ts
@@ -38,7 +38,7 @@ export class Socket {
38
} else {
39
let EventSource = require("eventsource")
40
let b64 = Buffer.from(JSON.stringify(query)).toString("base64")
41
- let socket = new EventSource(`${this.bitsocketURL}/s/` + b64)
+ let socket = new EventSource(`${this.bitsocketURL}/s/${b64}`)
42
43
socket.onmessage = (msg: any) => {
44
cb(msg.data)
0 commit comments