From 9ae0bd41b2b2280b55a7522ba712f0bb4f5ed4b4 Mon Sep 17 00:00:00 2001 From: gaiyaobed <95748043+gaiyaobed@users.noreply.github.com> Date: Sat, 14 Oct 2023 00:10:49 +0100 Subject: [PATCH] dd --- .env | 0 src/app.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..e69de29 diff --git a/src/app.js b/src/app.js index c96437c..b22df8c 100644 --- a/src/app.js +++ b/src/app.js @@ -4,7 +4,7 @@ const swaggerUi = require('swagger-ui-express'); const swaggerDocument = require('./../swagger.json'); // Load your Swagger JSON file const app = express(); -const PORT = 3000; +const PORT = process.env.PORT; app.use(bodyParser.json());