From b054c232eb924ecc0ec8649c15fc883f8bd40e6e Mon Sep 17 00:00:00 2001 From: shootylife Date: Fri, 15 Jan 2021 21:09:50 +0100 Subject: [PATCH] :wrench: add back url in whitelist --- conduit/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conduit/settings.py b/conduit/settings.py index cbe8344..21fbcef 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,7 +25,11 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', - 'https://devops-tp-final-front.netlify.app', + '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'), + 'https://devops-tp-final-front.netlify.app/', ] JWT_HEADER_TYPE = 'Token'