configure for heroku

This commit is contained in:
Connor Turland 2014-09-03 19:07:45 -04:00
parent eedd3736cf
commit 901c028d52

View file

@ -1412,7 +1412,7 @@ Metamaps.Realtime = {
var mapperm = Metamaps.Active.Map && Metamaps.Active.Map.authorizeToEdit(Metamaps.Active.Mapper); var mapperm = Metamaps.Active.Map && Metamaps.Active.Map.authorizeToEdit(Metamaps.Active.Mapper);
if (mapperm) { if (mapperm) {
self.socket = io.connect('http://localhost:5001'); self.socket = io.connect('http://gentle-savannah-1303.herokuapp.com');
self.socket.on('connect', function () { self.socket.on('connect', function () {
console.log('socket connected'); console.log('socket connected');
self.setupSocket(); self.setupSocket();