Skip to content

Commit

Permalink
feat: allow specifying port
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisSenicourt committed May 15, 2024
1 parent c70ff62 commit 72add25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const POIRouteur = require("./routes/POIRoutes");
const UserRouteur = require("./routes/userRoutes");

const app = express();
const port = 3000;
const port = process.env.PORT || 3000;

// Limiter le nombre de requêtes par IP
app.use(rateLimit({
Expand Down

0 comments on commit 72add25

Please sign in to comment.