liuyu il y a 4 ans
Parent
commit
fb58691347
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/plugins/stomp.js

+ 1 - 1
src/plugins/stomp.js

@@ -16,7 +16,7 @@ const Plugin = {
       };
     }
     assert(_.isString(options.brokerURL));
-    if (!options.brokerURL.startsWith('wss://')) {
+    if (!options.brokerURL.startsWith('ws://')) {
       options.brokerURL = `wss://${location.host}${options.brokerURL}`;
     }