From 3a4ce9d457b97fc7a16d16284a86814668edae3a Mon Sep 17 00:00:00 2001 From: Han Date: Wed, 1 May 2024 18:58:39 +0100 Subject: [PATCH] PORT over NODE_PORT --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1463b0a..f1260f6 100644 --- a/index.js +++ b/index.js @@ -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"