diff --git a/Procfile b/Procfile index 2a0bb19..1142800 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: PORT=$PORT yarn back start +web: yarn back start diff --git a/back/config/env/production/server.js b/back/config/env/production/server.js index a3b4321..dc83826 100644 --- a/back/config/env/production/server.js +++ b/back/config/env/production/server.js @@ -1,3 +1,5 @@ module.exports = ({ env }) => ({ - url: env("MY_HEROKU_URL"), + url: env("PUBLIC_URL", "https://fast-springs-77208.herokuapp.com"), + host: env("HOST", "0.0.0.0"), + port: env.int("PORT", 1337), });