mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-05 07:34:05 +00:00
fix(monitor): change monitor url
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user