refactor: change default port to 4000 to avoid clashes on server
This commit is contained in:
parent
88c3add4ad
commit
05bf74aca5
1 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ import cors from "cors"
|
||||||
import { validateApiKey } from "./middlewear/auth.js"
|
import { validateApiKey } from "./middlewear/auth.js"
|
||||||
const app = express()
|
const app = express()
|
||||||
|
|
||||||
const port = process.env.PORT || 3000
|
const port = process.env.PORT || 4000
|
||||||
|
|
||||||
app.use(cors())
|
app.use(cors())
|
||||||
app.use(express.json())
|
app.use(express.json())
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue