change port to 8080
This commit is contained in:
parent
483d46adfa
commit
b833729a07
6
index.js
6
index.js
@ -3,10 +3,12 @@
|
|||||||
var express = require('express')
|
var express = require('express')
|
||||||
var app = express()
|
var app = express()
|
||||||
|
|
||||||
|
const PORT = 8080
|
||||||
|
|
||||||
app.get('/', function (req, res) {
|
app.get('/', function (req, res) {
|
||||||
res.send('Hello from CUBETIQ!')
|
res.send('Hello from CUBETIQ!')
|
||||||
})
|
})
|
||||||
|
|
||||||
app.listen(7000, function () {
|
app.listen(PORT, function () {
|
||||||
console.log('app listening on port 7000!')
|
console.log(`app listening on port ${PORT}!`)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user