Skip to content

Commit

Permalink
Heroku deployment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lamaparbat committed Apr 16, 2022
1 parent ec0325a commit 245b7e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node index.js
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const jwt = require("jsonwebtoken");

// **** -> server config <- *******
const server = express();
const PORT = 8000 || process.env.PORT;
const PORT = process.env.PORT || 3000;


// *** -> MongoDB config <- ******
Expand Down

0 comments on commit 245b7e3

Please sign in to comment.