var express = require('express')
var app = express();

app.set('port', (process.env.PORT || 5000))
app.use(express.static(__dirname + '/public'))

app.get('*', function(req, res){
  console.log(req)
  response.send('Hello World.');
});

// app.get('/', function(request, response) {
//   response.send('Toilet is occupied!')
// })

app.listen(app.get('port'), function() {
  console.log("Node app is running at localhost:" + app.get('port'))
})

var express = require('express')
var app = express();

app.set('port', (process.env.PORT || 5000))
app.use(express.static(__dirname + '/public'))

app.get('*', function(req, res){
  console.log(req)
  res.send('Hello World.');
});

// app.get('/', function(request, response) {
//   response.send('Toilet is occupied!')
// })

app.listen(app.get('port'), function() {
  console.log("Node app is running at localhost:" + app.get('port'))
})

Fix syntax error