const http = require('http');
const url = require('url');
const fs = require('fs');
const PORT = 8080;

// Tiny static server for development
var server = http.createServer(function(request, response){
  var pathname = url.parse(request.url).pathname;
  console.log(pathname);
  if (pathname === '/build/bundle.js') {
    return response.end(fs.readFileSync('build/bundle.js'));
  }

  return response.end(fs.readFileSync('index.html'));
});

server.listen(PORT, function(){
  console.log("Server listening on port %s", PORT);
});
@@ -80,27 +80,8 @@
 s');
-%0Aconst PORT = 8080;
 %0A%0A//
@@ -431,20 +431,40 @@
 .listen(
-PORT
+process.env.PORT %7C%7C 8080
 , functi
@@ -484,17 +484,22 @@
 le.log(%22
-S
+Cool s
 erver li

Revise server port