From 6f0150cca19dd0675b44f59cf37d7f74b457bc39 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sun, 8 Jun 2014 16:27:16 -0400 Subject: [PATCH] switched for production (realtime) --- app/views/maps/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/maps/show.html.erb b/app/views/maps/show.html.erb index 58a3b3a8..6fd4daf9 100644 --- a/app/views/maps/show.html.erb +++ b/app/views/maps/show.html.erb @@ -104,13 +104,13 @@ if (json.length > 0) { <% if authenticated? && (@map.permission == "commons" || @map.user == user) %> // this is for the heroku staging environment -//window.realtime.socket = io.connect('http://gentle-savannah-1303.herokuapp.com'); +window.realtime.socket = io.connect('http://gentle-savannah-1303.herokuapp.com'); // this is for metamaps.cc //window.realtime.socket = io.connect('http://metamaps.cc:5001'); // this is for localhost development -window.realtime.socket = io.connect('http://localhost:5001'); +//window.realtime.socket = io.connect('http://localhost:5001'); window.realtime.socket.on('connect', function () { console.log('socket connected');