app.js 128 B

1234567
  1. var $URL = 'http://localhost:3000';
  2. var $token;
  3. var $socket;
  4. $(document).ready(function () {
  5. $socket = io.connect($URL);
  6. });