Browse Source

port/url change

windhamdavid 8 years ago
parent
commit
3274630036
1 changed files with 3 additions and 0 deletions
  1. 3 0
      public/javascripts/app.js

+ 3 - 0
public/javascripts/app.js

@@ -11,6 +11,9 @@ $(function () {
   } else if (ENV === 'code') {
     $URL = 'http://code.davidawindham.com:8888';
     $WS = 'ws://code.davidawindham.com:8888/';
+  } else if (ENV === 'chess') {
+    $URL = 'http://chess.davidawindham.com:8181';
+    $WS = 'ws://code.davidawindham.com:8888/';
   }
 
   $socket = io.connect($WS);