change uri /kill to /ws/kill

This commit is contained in:
liuzheng712
2016-07-31 10:29:17 +08:00
parent 270499a4fd
commit ce7a3d1f33
2 changed files with 2 additions and 2 deletions

View File

@@ -215,7 +215,7 @@
function cut(num, login_type){
var protocol = window.location.protocol;
var endpoint = protocol + '//' + document.URL.match(RegExp('//(.*?)/'))[1] + '/kill';
var endpoint = protocol + '//' + document.URL.match(RegExp('//(.*?)/'))[1] + '/ws/kill';
if (login_type=='web'){
var g_url = endpoint + '?id=' + num;
console.log(g_url);