From 236e68c70f287883fbbbf39b7164acda452fbc1c Mon Sep 17 00:00:00 2001 From: verzelea Date: Mon, 18 Jan 2021 10:32:47 +0100 Subject: [PATCH] :wrench: change settings --- conduit/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/conduit/settings.py b/conduit/settings.py index 009bbbb..14da4a7 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,10 +25,14 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', + 'https://devoptpfinal.herokuapp.com/api/articles', + 'https://devoptpfinal.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'), 'https://devopstpfinal-front.netlify.app', - os.environ.get('FRONT_PROD_URL', ''), + 'http://devopstpfinal-front.netlify.app', ] JWT_HEADER_TYPE = 'Token' @@ -61,4 +65,4 @@ class TestConfig(Config): SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL', 'postgresql://localhost/example') # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds" - BCRYPT_LOG_ROUNDS = 4 + BCRYPT_LOG_ROUNDS = 4 \ No newline at end of file