From adfd324f6e81f6161baae49eef38f6310762756a Mon Sep 17 00:00:00 2001 From: abutler911 Date: Tue, 17 Oct 2023 18:11:54 -0600 Subject: [PATCH] heroku config --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index a5b6556..27026f2 100644 --- a/app.js +++ b/app.js @@ -12,7 +12,7 @@ const loginRoutes = require("./routes/loginRoutes"); const affirmationRoutes = require("./routes/affirmationRoutes"); const app = express(); -const port = 3000; +const port = process.env.PORT || 3000; // Initialize Passport config require("./config/passport-config")(passport);