var express = require('express');

app.set('port', (process.env.PORT || 3000));

var app = express();

app.get('/',function(req,res){
	res.send("Hello");
});

app.listen(app.get('port'), function() {
  console.log('Node app is running on port', app.get('port'));
});
var express = require('express');

var app = express();

app.set('port', (process.env.PORT || 3000));
app.get('/',function(req,res){
	res.send("Hello");
});

app.listen(app.get('port'), function() {
  console.log('Node app is running on port', app.get('port'));
});
fix bug in app.js