liuyu 4 years ago
parent
commit
fb58691347
1 changed files with 1 additions and 1 deletions
  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}`;
     }