const express = require('express')
const bodyParser = require('body-parser')
const compression = require('compression')
const path = require('path')

const app = express()
app.use(bodyParser.json())
app.use(compression())

app.get('/', function (req, res) {
  res.sendFile(path.join(__dirname, '../public', 'index.html'))
})

app.get('/404', function (req, res) {
  res.sendFile(path.join(__dirname, '../public', '404.html'))
})

app.set('views', path.join(__dirname, 'views'))
app.set('x-powered-by', false)
app.use('/public', express.static(path.join(__dirname, '../public')))

var server = app.listen(3000, function () {
  var port = server.address().port

  console.log('Example app listening at http://127.0.0.1:%s', port)
})

@@ -573,19 +573,21 @@
 ic')))%0A%0A
-var
+const
  server 
@@ -625,11 +625,13 @@
 %7B%0A  
-var
+const
  por
@@ -676,19 +676,14 @@
 og('
-Example app
+Server
  lis

replace vars with consts