fix(monitor): change monitor url

This commit is contained in:
liuzheng712
2016-03-04 19:48:52 +08:00
parent 936faad1b9
commit f73d34b9cc
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@
var protocol = 'ws://';
}
var endpoint = protocol + document.URL.match(RegExp('//(.*?)/'))[1] + '/monitor';
var endpoint = protocol + document.URL.match(RegExp('//(.*?)/'))[1] + '/ws/monitor';
var file_path = obj.attr('file_path');
var socket = new WebSocket(endpoint + '?file_path=' + file_path);