Compare commits
2 Commits
67db40dd66
...
13659fc5b5
Author | SHA1 | Date | |
---|---|---|---|
13659fc5b5 | |||
6b1801c0d2 |
4
index.js
4
index.js
@ -1,7 +1,7 @@
|
||||
const express = require('express')
|
||||
const os = require('os')
|
||||
const app = express()
|
||||
const port = 3000
|
||||
const port = process.env.PORT || 5000
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.json({
|
||||
@ -13,4 +13,4 @@ app.get('/', (req, res) => {
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Example app listening on port ${port}`)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user