wss
This commit is contained in:
parent
83f3981648
commit
aee0ecd3ad
|
|
@ -637,7 +637,7 @@ $(window).click(function() {
|
|||
<!-- WEBSOCKETS -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
const mainwebsocket = new WebSocket('ws://'+window.location.host)
|
||||
const mainwebsocket = new WebSocket('wss://'+window.location.host)
|
||||
|
||||
mainwebsocket.onmessage = function(e) {
|
||||
console.log(e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue