Commit 63bdaa0adf37baa49a1622f7cfc3d5f055bda495
1 parent
de317a6f
修复无法`重启媒体服务器`,`删除远端通信链路`的问题
Showing
1 changed file
with
2 additions
and
2 deletions
web_src/src/components/control.vue
| ... | ... | @@ -367,7 +367,7 @@ export default { |
| 367 | 367 | let that = this; |
| 368 | 368 | this.$axios({ |
| 369 | 369 | method: 'get', |
| 370 | - url: '/zlm/index/api/restartServer' | |
| 370 | + url: '/zlm/' + that.mediaServerChoose +'/index/api/restartServer' | |
| 371 | 371 | }).then(function (res) { |
| 372 | 372 | that.getAllSession(); |
| 373 | 373 | if (res.data.code == 0) { |
| ... | ... | @@ -402,7 +402,7 @@ export default { |
| 402 | 402 | let that = this; |
| 403 | 403 | this.$axios({ |
| 404 | 404 | method: 'get', |
| 405 | - url: '/zlm/index/api/kick_session&id=' + id | |
| 405 | + url: '/zlm/' + that.mediaServerChoose +'/index/api/kick_session&id=' + id | |
| 406 | 406 | }).then(function (res) { |
| 407 | 407 | that.getAllSession(); |
| 408 | 408 | that.$message({ | ... | ... |