Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change port to 8000

  • Loading branch information...
commit ca9f3006cc0ab5c207e95c09a8a16c7ce3a2760f 1 parent 37b88ee
sliver authored
View
2  heat_tracer.js
@@ -80,6 +80,6 @@ websocket_server.on('connection', function(socket) {
} );
-app.listen(80);
+app.listen(8000);
View
4 public/heat_tracer.html
@@ -1,7 +1,7 @@
<html>
<head>
-<script src="http://localhost/socket.io/socket.io.js"></script>
-<script src="http://localhost/heat_tracer_client.js"></script>
+<script src="socket.io/socket.io.js"></script>
+<script src="heat_tracer_client.js"></script>
</head>
<body onLoad='heat_tracer()'>
<canvas id='canvas' width='1024' height='512'></canvas>
View
2  public/heat_tracer_client.js
@@ -5,7 +5,7 @@ function heat_tracer() {
//Global vars
setup();
- var socket = new io.Socket('localhost'); //connect to localhost presently
+ var socket = new io.Socket(); //connect to localhost presently
socket.connect();
socket.on('connect', function(){
Please sign in to comment.
Something went wrong with that request. Please try again.