Previous 199869 Revisions Next

r25370 Thursday 19th September, 2013 at 00:27:16 UTC by R. Belmont
web: fixed hardcoded hostname and port in index.html. [Firehawke]
[web]index.html

trunk/web/index.html
r25369r25370
8080  }
8181 
8282  function startWebSocket() {
83    var url = 'ws://localhost:8080/foo';
83   var docbase = window.location.href.toString();
84   var url = docbase.replace("http://","ws://");
8485    websocket = new WebSocket(url);
8586    websocket.onopen = function(ev) {
8687     writeToScreen('<b style="color: green;">Connected</b>');

Previous 199869 Revisions Next


© 1997-2024 The MAME Team