'use strict'

const express = require('express')
const compression = require('compression')
const app = express()

app.use(compression())
app.use(express.static(__dirname))
app.use((req, res) => res.sendFile(__dirname + '/index.html'))

app.listen(3001)

'use strict'

const express = require('express')
const compression = require('compression')
const app = express()

app.use(compression())
app.use(express.static(__dirname))
app.use((req, res) => res.sendFile(__dirname + '/index.html'))

app.listen(3000)

change port from 3001 to 3000