configured for local dev

This commit is contained in:
Connor Turland 2014-08-15 22:46:36 -04:00
parent 987f3c3ab5
commit 5cfbb82760
2 changed files with 3 additions and 3 deletions

View file

@ -6,8 +6,8 @@ gem 'rails', '3.2.17'
# Bundle edge Rails instead: # Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git' # gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'watir' #gem 'watir'
gem 'phantomjs' #gem 'phantomjs'
gem 'devise' gem 'devise'
gem 'redis', '2.2.2' gem 'redis', '2.2.2'

View file

@ -1391,7 +1391,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://gentle-savannah-1303.herokuapp.com'); self.socket = io.connect('http://localhost:5001');
self.socket.on('connect', function () { self.socket.on('connect', function () {
console.log('socket connected'); console.log('socket connected');
self.setupSocket(); self.setupSocket();