mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
fix: bug
This commit is contained in:
parent
66a9d04e9c
commit
bbd0e160ce
@ -1,3 +1,7 @@
|
||||
### v1.3.11
|
||||
* 修复 v1.3.10 websocket 连接问题
|
||||
* 修复运行报错问题
|
||||
|
||||
### v1.3.9
|
||||
#### Feature
|
||||
* 增加接口编辑返回数据预览
|
||||
|
@ -72,7 +72,7 @@ class InterfaceEdit extends Component {
|
||||
//因后端 node 仅支持 ws, 暂不支持 wss
|
||||
let wsProtocol = location.protocol === 'https' ? 'ws' : 'ws';
|
||||
try {
|
||||
s = new WebSocket(wsProtocol + '://dd' + domain + '/api/interface/solve_conflict?id=' + this.props.match.params.actionId);
|
||||
s = new WebSocket(wsProtocol + '://' + domain + '/api/interface/solve_conflict?id=' + this.props.match.params.actionId);
|
||||
s.onopen = () => {
|
||||
this.WebSocket = s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user