From 32ceced6d9835f943fd0a9dde32c39a8463fd221 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 16 Jun 2018 16:59:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E6=9B=B4?= =?UTF-8?q?=E6=94=B9Common-scripts=E7=9A=84WS=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/js/common-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/wwwroot/js/common-scripts.js b/Bootstrap.Admin/wwwroot/js/common-scripts.js index 79ee5616..2d7440b0 100644 --- a/Bootstrap.Admin/wwwroot/js/common-scripts.js +++ b/Bootstrap.Admin/wwwroot/js/common-scripts.js @@ -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);