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