Skip to content

Commit

Permalink
PORT over NODE_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed May 1, 2024
1 parent 81020bc commit 3a4ce9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const v1 = require("./src/controllers/v1")

const router = express.Router()
const server = express()
const port = process.env.NODE_PORT || 3000
const port = process.env.PORT || 3000
const environment = process.env.NODE_ENV || "production"
const isDevelopment = environment === "development"

Expand Down

0 comments on commit 3a4ce9d

Please sign in to comment.