From dff8ad431496029c7bc3657f35aa83944ebfb542 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Fri, 5 Jun 2020 14:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5websocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/frame/nav/nav.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/components/frame/nav/nav.js b/public/components/frame/nav/nav.js index d397741b8..eb934225e 100644 --- a/public/components/frame/nav/nav.js +++ b/public/components/frame/nav/nav.js @@ -209,11 +209,11 @@ let url = ''; if (_protocol.startsWith('https')) { url = - "wss://" + window.location.host + "/websocket/message/" + + "wss://" + window.location.host + "/app/message/" + _userId; } else { url = - "ws://" + window.location.host + "/websocket/message/" + + "ws://" + window.location.host + "/app/message/" + _userId; }