修改BUG:更改Common-scripts的WS路径

This commit is contained in:
Argo Zhang 2018-06-16 16:59:21 +08:00 committed by Argo-MacBookPro
parent 01cfda5395
commit 32ceced6d9
1 changed files with 1 additions and 1 deletions

View File

@ -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);