Skip to content

Commit 84a9da0

Browse files
author
Gabriel Cardona
committed
Interpolation.
1 parent b1ed917 commit 84a9da0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Socket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class Socket {
3838
} else {
3939
let EventSource = require("eventsource")
4040
let b64 = Buffer.from(JSON.stringify(query)).toString("base64")
41-
let socket = new EventSource(`${this.bitsocketURL}/s/` + b64)
41+
let socket = new EventSource(`${this.bitsocketURL}/s/${b64}`)
4242

4343
socket.onmessage = (msg: any) => {
4444
cb(msg.data)

0 commit comments

Comments
 (0)