Permalink
Browse files

make socket.io work in production

  • Loading branch information...
Techwraith
Techwraith committed Oct 30, 2012
1 parent 74a946c commit aef77e9b3cb96c1cef4aec8eb974c3375cbf9571
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/build/build.js
View
@@ -9,7 +9,7 @@ utilities.mixin(geddy, utilities);
// require socket.io-client
geddy.io = require('socket.io-client');
-geddy.socket = geddy.io.connect('http://localhost:4000');
+geddy.socket = geddy.io.connect('/');
geddy.io.listenForModelEvents = function (model) {
var events = [

0 comments on commit aef77e9

Please sign in to comment.