configuring url to connect to for realtime

This commit is contained in:
Connor Turland 2014-02-04 13:41:27 -05:00
parent c3c5b4e5c4
commit 5271c1ea3d
6 changed files with 41 additions and 5 deletions

View file

@ -1,6 +1,6 @@
window.app.realtime = window.app.realtime =
connect : () -> connect : () ->
window.app.socket = io.connect('http://gentle-savannah-1303.herokuapp.com:5001'); window.app.socket = io.connect('http://gentle-savannah-1303.herokuapp.com');
window.app.socket.on 'connect', () -> window.app.socket.on 'connect', () ->
subscribeToRooms() subscribeToRooms()
console.log('socket connected') console.log('socket connected')

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -209,8 +209,8 @@ WebSocketMain.swf: WebSocketMain-0de980edb45e36785bf9d862baa032bb.swf
WebSocketMain/index.swf: WebSocketMain-0de980edb45e36785bf9d862baa032bb.swf WebSocketMain/index.swf: WebSocketMain-0de980edb45e36785bf9d862baa032bb.swf
WebSocketMainInsecure.swf: WebSocketMainInsecure-c4377647e57e58cacc692c8a51afc9f8.swf WebSocketMainInsecure.swf: WebSocketMainInsecure-c4377647e57e58cacc692c8a51afc9f8.swf
WebSocketMainInsecure/index.swf: WebSocketMainInsecure-c4377647e57e58cacc692c8a51afc9f8.swf WebSocketMainInsecure/index.swf: WebSocketMainInsecure-c4377647e57e58cacc692c8a51afc9f8.swf
application.js: application-eba65f3621e2042a9373fa3b4914efd3.js application.js: application-6c43f7a71ebd80496a8f18f5b1789324.js
application/index.js: application-eba65f3621e2042a9373fa3b4914efd3.js application/index.js: application-6c43f7a71ebd80496a8f18f5b1789324.js
scroll/mCSB_buttons.png: scroll/mCSB_buttons-0642ce29bb568932e832d150141614e6.png scroll/mCSB_buttons.png: scroll/mCSB_buttons-0642ce29bb568932e832d150141614e6.png
scroll/mCSB_buttons/index.png: scroll/mCSB_buttons-0642ce29bb568932e832d150141614e6.png scroll/mCSB_buttons/index.png: scroll/mCSB_buttons-0642ce29bb568932e832d150141614e6.png
Fonts/Lato-Lig-webfont.eot: Fonts/Lato-Lig-webfont-1435188a694a7d5e29cf4a3288ff3e36.eot Fonts/Lato-Lig-webfont.eot: Fonts/Lato-Lig-webfont-1435188a694a7d5e29cf4a3288ff3e36.eot