configure for heroku
This commit is contained in:
parent
eedd3736cf
commit
901c028d52
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue