Skip to content

Commit 245b7e3

Browse files
committed
Heroku deployment setup
1 parent ec0325a commit 245b7e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: node index.js

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const jwt = require("jsonwebtoken");
66

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

1111

1212
// *** -> MongoDB config <- ******

0 commit comments

Comments
 (0)