Updated port
This commit is contained in:
parent
6b1801c0d2
commit
13659fc5b5
2
index.js
2
index.js
@ -1,7 +1,7 @@
|
|||||||
const express = require('express')
|
const express = require('express')
|
||||||
const os = require('os')
|
const os = require('os')
|
||||||
const app = express()
|
const app = express()
|
||||||
const port = 3000
|
const port = process.env.PORT || 5000
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
|
Loading…
Reference in New Issue
Block a user