From 7f638f4f801e46c32390750f745f44a2aff85295 Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Sun, 10 Jan 2021 15:28:29 +0100 Subject: [PATCH] :wrench: more url --- conduit/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conduit/settings.py b/conduit/settings.py index acfb6bd..e5d72da 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -29,6 +29,8 @@ class Config(object): 'https://devops-final-back.herokuapp.com', 'http://0.0.0.0:5432', 'http://localhost:5432', + 'http://0.0.0.0:' + os.environ.get('PORT', '8080'), + 'https://0.0.0.0:' + os.environ.get('PORT', '8080'), ] JWT_HEADER_TYPE = 'Token'