'use strict';

var app = require('./index');
var http = require('http');


var server;

/*
 * Create and start HTTP server.
 */

server = http.createServer(app);
server.listen(process.env.PORT || 8000);
server.on('listening', function () {
    console.log('Server listening on http://localhost:%d', this.address().port);
});

@@ -42,284 +42,4 @@
 ');%0A
-var http = require('http');%0A%0A%0Avar server;%0A%0A/*%0A * Create and start HTTP server.%0A */%0A%0Aserver = http.createServer(app);%0Aserver.listen(process.env.PORT %7C%7C 8000);%0Aserver.on('listening', function () %7B%0A    console.log('Server listening on http://localhost:%25d', this.address().port);%0A%7D);%0A

fix npm start issue