Showing
1 changed file
with
2 additions
and
1 deletions
@@ -284,7 +284,8 @@ function get_websocket_server(type) { | @@ -284,7 +284,8 @@ function get_websocket_server(type) { | ||
284 | var arr = data.data[0].split(':'); | 284 | var arr = data.data[0].split(':'); |
285 | var ip = arr[0]; | 285 | var ip = arr[0]; |
286 | var port = arr[1]; | 286 | var port = arr[1]; |
287 | - var protocol = location.protocol === 'https:' ? 'wss' :'ws' | 287 | + var protocol = 'ws' |
288 | + // var protocol = location.protocol === 'https:' ? 'wss' :'ws' | ||
288 | 289 | ||
289 | if (is_live) { | 290 | if (is_live) { |
290 | 291 |
-
Please register or login to post a comment