Skip to content

Commit

Permalink
Change Node.js server URL & port
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsushi OHNO committed Mar 17, 2014
1 parent 3f4a55a commit 649b8e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pc.js
Expand Up @@ -12,9 +12,9 @@ var zoomFlag = false;
/*
WebSocket
*/
var sock = new WebSocket('ws://frah.me:10080');
var sock = new WebSocket('ws://home.tokcs.com/ws/');
sock.onopen = function() {
console.log('WebSocket connected: ws://frah.me:10080');
console.log('WebSocket connected: ws://home.tokcs.com/ws/');
};
sock.onerror = function(ev) {
console.log('WebSocket error: ');
Expand Down
4 changes: 2 additions & 2 deletions smart.js
Expand Up @@ -9,9 +9,9 @@ var i_throw;
/*
WebSocket
*/
var sock = new WebSocket('ws://frah.me:10080');
var sock = new WebSocket('ws://home.tokcs.com/ws/');
sock.onopen = function() {
console.log('WebSocket connected: ws://frah.me:10080');
console.log('WebSocket connected: ws://home.tokcs.com/ws/');
};
sock.onerror = function(ev) {
console.log('WebSocket error: ');
Expand Down

0 comments on commit 649b8e5

Please sign in to comment.