Skip to content

Commit

Permalink
Merge pull request #1 from mv92/main
Browse files Browse the repository at this point in the history
Change the order port assigning operations
  • Loading branch information
RaddyTheBrand authored May 16, 2023
2 parents 6bd5d41 + 67ccfa9 commit 7586189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const connectDB = require('./server/config/db');
const { isActiveRoute } = require('./server/helpers/routeHelpers');

const app = express();
const PORT = 5000 || process.env.PORT;
const PORT = process.env.PORT || 5000;

// Connect to DB
connectDB();
Expand Down

0 comments on commit 7586189

Please sign in to comment.