|
@ -31,7 +31,7 @@ const connect = async (token) => { |
|
|
stomp.debug = (msg) => {}; |
|
|
stomp.debug = (msg) => {}; |
|
|
|
|
|
|
|
|
stomp.connect( |
|
|
stomp.connect( |
|
|
// { "X-Authorization": token.split(".").slice(0, 2).join(".") + "alkdjalskdjals" },
|
|
|
|
|
|
|
|
|
// { "X-Authorization": token.split(".").slice(0, 2).join(".") + ".alkdjalskdjals" },
|
|
|
{ "X-Authorization": token }, |
|
|
{ "X-Authorization": token }, |
|
|
(frame) => { |
|
|
(frame) => { |
|
|
console.log("Connected", frame); |
|
|
console.log("Connected", frame); |
|
|