修改BUG:更改Common-scripts的WS路径
This commit is contained in:
parent
01cfda5395
commit
32ceced6d9
|
@ -52,7 +52,7 @@
|
|||
pullNotification: function () {
|
||||
if ($('.notify-row').length == 0) return;
|
||||
|
||||
var uri = "ws://" + window.location.host + "/WS";
|
||||
var uri = "ws://" + window.location.host + $.formatUrl("WS");
|
||||
var socket = new WebSocket(uri);
|
||||
socket.onmessage = function (e) {
|
||||
var result = JSON.parse(e.data);
|
||||
|
|
Loading…
Reference in New Issue