aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'termcast_server/index.html')
-rw-r--r--termcast_server/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/termcast_server/index.html b/termcast_server/index.html
new file mode 100644
index 0000000..e7cd8dd
--- /dev/null
+++ b/termcast_server/index.html
@@ -0,0 +1,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>