From ff6a14f1d5a493984ec7d85a01936b336e01e7a5 Mon Sep 17 00:00:00 2001 From: Youssef Touggani Date: Mon, 18 Jan 2021 09:46:26 +0100 Subject: [PATCH] setting --- conduit/settings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conduit/settings.py b/conduit/settings.py index 8b5b573..cbec129 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,7 +25,12 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', - 'https://determined-mccarthy-54f8af.netlify.app' + 'https://determined-mccarthy-54f8af.netlify.app', + 'http://0.0.0.0:' + os.environ.get('PORT', '8080'), + 'https://0.0.0.0:' + os.environ.get('PORT', '8080'), + 'https://determined-mccarthy-54f8af.netlify.app', + 'http://determined-mccarthy-54f8af.netlify.app', + os.environ.get('FRONT_PROD_URL', '') ] JWT_HEADER_TYPE = 'Token'