From f43e064570fd6410e39e1afe9a7083572fb5f52a Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Sat, 12 Oct 2019 11:07:24 -0700 Subject: [PATCH] add secret key to prod config --- configuration/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config.py b/configuration/config.py index 0f5e87f..d326153 100644 --- a/configuration/config.py +++ b/configuration/config.py @@ -29,6 +29,6 @@ class TestingConfig(BaseConfig): class ProductionConfig(BaseConfig): """Production configuration.""" - SECRET_KEY = '' + SECRET_KEY = os.getenv('SECRET_KEY') DEBUG = False SQLALCHEMY_DATABASE_URI = 'postgres://mzwaocmnwvesac:d86d256a9e73639d0ac1eba3651f3f5268540e6417b110265fd58398358d1c1b@ec2-174-129-227-51.compute-1.amazonaws.com:5432/d1jbr1uiojpma'