From 673937738989b0e78722ce3b85d0abe4836bca55 Mon Sep 17 00:00:00 2001 From: Louis Dutoit Date: Mon, 18 Jan 2021 16:28:59 +0100 Subject: [PATCH] :wrench: --- conduit/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conduit/settings.py b/conduit/settings.py index beb0513..7b9933d 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,8 +25,8 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', - 'http://0.0.0.0:8080', - 'https://0.0.0.0:8080', + 'http://0.0.0.0:' + os.environ.get('PORT', '8080'), + 'https://0.0.0.0:' + os.environ.get('PORT', '8080'), 'https://devops-final-front.netlify.app' ] JWT_HEADER_TYPE = 'Token'