Skip to content

Commit

Permalink
(feat): add mapping port out of environment vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mpabst-udg committed Feb 9, 2024
1 parent a1f23fd commit 15ad6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const app = express();
app.use(cookieParser());

var server = require("http").createServer(app);
var port = 3000;
var port = process.env.PORT;

server.listen(port, function () {
console.log("Server listening on port " + port);
Expand Down

0 comments on commit 15ad6fa

Please sign in to comment.