This commit is contained in:
Holger Trampe 2020-05-17 23:27:44 +02:00
parent 83f3981648
commit aee0ecd3ad
1 changed files with 1 additions and 1 deletions

View File

@ -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);