login returns

This commit is contained in:
GitProtogen
2026-03-05 12:08:57 +01:00
parent 0f3b5ed61a
commit 515d061cae
9 changed files with 188 additions and 9 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ $html->content .= "
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\">
<title>Ratchet Hello World</title>
<title>Chat</title>
</head>
<body>
<h2>WebSocket Test</h2>
@@ -21,7 +21,7 @@ $html->content .= "
<script>
const log = document.getElementById('log');
const ws = new WebSocket('ws://localhost:8080');
const ws = new WebSocket('ws://localhost:8080/ws');
ws.onopen = () => append('Connected');
ws.onmessage = e => append('Server: ' + e.data);