[PR #1] [MERGED] Change the order port assigning operations #6

Closed
opened 2026-02-26 21:30:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RaddyTheBrand/25.NodeJs-Express-EJS-MongoDB--Blog/pull/1
Author: @mv92
Created: 5/15/2023
Status: Merged
Merged: 5/16/2023
Merged by: @RaddyTheBrand

Base: mainHead: main


📝 Commits (1)

  • 67ccfa9 fix: port assigning use ENV over constant number

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 app.js (+1 -1)

📄 Description

change the order port assigning operations. since 5000 is always true, process.env.PORT is never accessed


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RaddyTheBrand/25.NodeJs-Express-EJS-MongoDB--Blog/pull/1 **Author:** [@mv92](https://github.com/mv92) **Created:** 5/15/2023 **Status:** ✅ Merged **Merged:** 5/16/2023 **Merged by:** [@RaddyTheBrand](https://github.com/RaddyTheBrand) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`67ccfa9`](https://github.com/RaddyTheBrand/25.NodeJs-Express-EJS-MongoDB--Blog/commit/67ccfa98472a03ea833532678a3d6785accd33c2) fix: port assigning use ENV over constant number ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app.js` (+1 -1) </details> ### 📄 Description change the order port assigning operations. since 5000 is always true, `process.env.PORT` is never accessed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:30:43 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/25.NodeJs-Express-EJS-MongoDB--Blog#6
No description provided.