wip
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Replace 'ws://localhost/ws' with your WebSocket server address
|
// Replace 'ws://localhost/ws' with your WebSocket server address
|
||||||
var ws = new WebSocket('ws://localhost/ws');
|
var ws = new WebSocket('ws://'+window.location.host+':1025/ws');
|
||||||
|
|
||||||
ws.onopen = function() {
|
ws.onopen = function() {
|
||||||
console.log('WebSocket connection established');
|
console.log('WebSocket connection established');
|
||||||
|
|||||||
Reference in New Issue
Block a user