diff options
author | 2025-02-03 13:58:53 +0600 | |
---|---|---|
committer | 2025-02-03 13:58:53 +0600 | |
commit | 95f2a407b66112b217b14e1ccc11c9806874f567 (patch) | |
tree | f49c78b726bbca9a00849a3a41655ab625b45fe6 | |
parent | 2c272da15409fe99511f1b947e4196345f2b2e1d (diff) | |
download | inventory-95f2a407b66112b217b14e1ccc11c9806874f567.tar.gz inventory-95f2a407b66112b217b14e1ccc11c9806874f567.zip |
....
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ import cors from 'cors'; dotenv.config(); // Load .env variables const app = express(); -const port = 3000; +const port = process.env.PORT; app.use(express.json()); app.use(cors()); |