From c28b95d2348ffda7d418ff26edc5283327f53750 Mon Sep 17 00:00:00 2001 From: Galimede Date: Tue, 5 Jan 2021 15:19:08 +0100 Subject: [PATCH] :wrench: Set ip with env port to avoid manual env url set --- conduit/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conduit/settings.py b/conduit/settings.py index a9c99d8..91f3792 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,7 +25,7 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', - os.environ.get('BACK_PROD_URL'), + 'http://0.0.0.0:' + os.environ.get('PORT'), os.environ.get('FRONT_PROD_URL') ] JWT_HEADER_TYPE = 'Token'