diff --git a/Procfile b/Procfile index ace6fe2..f27f893 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -APP_BASE=./backend \ No newline at end of file +web: node backend/src/server.js \ No newline at end of file diff --git a/backend/src/server.js b/backend/src/server.js index 0198bca..60d971c 100644 --- a/backend/src/server.js +++ b/backend/src/server.js @@ -1,3 +1,3 @@ const app = require ('./app') -app.listen(3333); \ No newline at end of file +app.listen(process.env.PORT || 3333); \ No newline at end of file