Changed port number to spec.

This commit is contained in:
Harrison Deng 2022-03-20 20:22:46 -05:00
parent c636abc4ec
commit 5eef357132

View File

@ -1,6 +1,6 @@
const express = require('express')
const app = express()
const port = 3000
const port = process.env.PORT || 5000
app.use(express.static("pub"));