From 5d50f2521688da7165149e22482efc556ef8fc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B6=E5=A3=AB=E6=B6=B5?= <630892807@qq.com> Date: Sun, 26 Jul 2020 12:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8wss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/html/chat_main.html | 2 +- static/html/chat_page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/html/chat_main.html b/static/html/chat_main.html index 8acba44..bf44c32 100644 --- a/static/html/chat_main.html +++ b/static/html/chat_main.html @@ -167,7 +167,7 @@ leftTabActive:"first", users:[], usersMap:[], - server:"ws://"+window.location.host+"/chat_server", + server:"wss://"+window.location.host+"/chat_server", socket:null, messageContent:"", currentGuest:"", diff --git a/static/html/chat_page.html b/static/html/chat_page.html index 2d40560..5320d39 100644 --- a/static/html/chat_page.html +++ b/static/html/chat_page.html @@ -132,7 +132,7 @@ delimiters:["<{","}>"], data: { window:window, - server:"ws://"+window.location.host+"/chat_server", + server:"wss://"+window.location.host+"/chat_server", socket:null, msgList:[], messageContent:"",