diff --git a/src/utils/ws/useSocket.js b/src/utils/ws/useSocket.js index eb184d8..7a7b240 100644 --- a/src/utils/ws/useSocket.js +++ b/src/utils/ws/useSocket.js @@ -17,7 +17,7 @@ let url = import.meta.env.VITE_APP_ENV == 'development' ? 'ws://192.168.16.135:13002/' + '/mess_notice' - : 'ws://server2.wh-nf.cn:8088/prod-api/mess_notice'; + : 'wss://server2.wh-nf.cn:8088/prod-api/mess_notice'; // let url = // import.meta.env.VITE_APP_ENV == 'development' // ? 'ws://192.168.16.254:13002/' + '/mess_notice'