const PORT = process.env.PORT || 3000;
const BUrl =  process.env.BaseUrl || 'http://localhost';

const FUrl = BUrl + ":" + PORT;

var App = angular.module('ChatRoom',['ngResource','ngRoute','ngStorage','socket.io','ngFileUpload','Controllers','Services'])
.run(["$rootScope", function ($rootScope){
	$rootScope.baseUrl = FUrl; //Application URL
}]);
App.config(function ($routeProvider, $socketProvider){
	$socketProvider.setConnectionUrl(FUrl); // Socket URL

	$routeProvider	// AngularJS Routes
	.when('/v1/', {
		templateUrl: 'app/views/login.html',
		controller: 'loginCtrl'
	})
	.when('/v1/ChatRoom', {
		templateUrl: 'app/views/chatRoom.html',
		controller: 'chatRoomCtrl'
	})
	.otherwise({		
        redirectTo: '/v1/'	// Default Route
    });
});

@@ -30,11 +30,11 @@
  %7C%7C 
-300
+808
 0;%0D%0A
@@ -79,20 +79,34 @@
 http
+s
 ://
-localhost
+ice-mc2.herokuapp.com/
 ';%0D%0A

Update app.js