diff --git a/index.html b/index.html index 7d42f5a..5ddc3b0 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,8 @@ #tron - - + +
diff --git a/wirc.css b/wirc.css index 4e2e243..6f730ab 100644 --- a/wirc.css +++ b/wirc.css @@ -44,7 +44,7 @@ background-color: yellow; } .current { - background-color: aquamarine; + background-color: cornsilk; } input[name~=target] { diff --git a/wirc.js b/wirc.js index 6ef0ab7..4a847c6 100644 --- a/wirc.js +++ b/wirc.js @@ -171,7 +171,7 @@ function handleCommand(event) { function reqListener() { } oReq.onload = reqListener; - oReq.open("POST", "irc.cgi", true); + oReq.open("POST", "wirc.cgi", true); oReq.send(new FormData(event.target)); event.target.reset(); @@ -183,7 +183,7 @@ function init() { var authtok = prompt("Auth token", ""); document.getElementById("authtok").value = authtok; - var source = new EventSource("irc.cgi?auth=" + authtok); + var source = new EventSource("wirc.cgi?auth=" + authtok); source.onmessage = newmsg; document.getElementById("command").onsubmit = handleCommand;