change port to 8080

This commit is contained in:
Sambo Chea 2020-05-07 19:14:10 +07:00
parent 483d46adfa
commit b833729a07

View File

@ -3,10 +3,12 @@
var express = require('express')
var app = express()
const PORT = 8080
app.get('/', function (req, res) {
res.send('Hello from CUBETIQ!')
})
app.listen(7000, function () {
console.log('app listening on port 7000!')
app.listen(PORT, function () {
console.log(`app listening on port ${PORT}!`)
})