'use strict';
// define globals
var express = require('express'),
    io = require('socket.io'),
    http = require('http'),
    app = express(),
    server = http.createServer(app),
    io = io.listen(server),
    fs = require('fs');

require('./server/sockets/base')(io);


app.use(express.static(__dirname + '/'));

app.get('/', function(req, res){
    fs.readFile(__dirname + '/index.html', 'utf8', function(err, text){
        res.send(text);
    });
});

app.get('/api/google-ios', function(req, res){
    fs.readFile(__dirname + '/api-stub/google-ios.json', 'utf8', function(err, data){
        res.send(data);
    });
});

app.get('/api/gdgs', function(req, res){
    fs.readFile(__dirname + '/api-stub/gdgs.json', 'utf8', function(err, data){
        res.send(data);
    });
});

app.get('*', function(req, res){
    res.redirect('/');
});

server.listen(process.env.PORT || 5000, function(){
  console.log('Application are running on port 5000');
});
@@ -877,18 +877,18 @@
 PORT %7C%7C 
+4
 5
-0
 00, func
@@ -942,18 +942,18 @@
 on port 
+4
 5
-0
 00');%0A%7D)

Replace application port to 4500