Skip to content

Commit d6e7552

Browse files
committed
oops
1 parent 23725bd commit d6e7552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const app = express()
55
const server = http.createServer(app)
66
const { Server } = require('socket.io')
77
const io = new Server(server)
8-
const port = 3000
8+
const port = process.env.PORT || 3000
99
const router = require('./router')
1010

1111
app.use(express.json())

0 commit comments

Comments
 (0)