aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server/index.html
blob: e7cd8dd47329d18c0a2f4f9627ee4825d180b9ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
    <script>
var url = location.origin.replace(/^http/, 'ws') + "/-/";
var socket = new WebSocket(url);
socket.onopen = function (e) {
    // XXX
};
socket.onmessage = function (e) {
    // XXX
};
socket.onclose = function (e) {
    // XXX
};
    </script>
</head>
<body>
    <h1>Hello World</h1>
</body>
</html>