liuyu 4 年之前
父节点
当前提交
fb58691347
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}`;
     }