From 8e39140939e794ce34cb4a3739f1f94a71b5a889 Mon Sep 17 00:00:00 2001 From: Aitor Urrutia Date: Sat, 15 Jan 2022 18:15:25 +0100 Subject: [PATCH] configuration test --- Procfile | 2 +- back/config/env/production/server.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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), });