add secret key to prod config

This commit is contained in:
Sorrel Bri 2019-10-12 11:07:24 -07:00
parent b136ede418
commit f43e064570

View file

@ -29,6 +29,6 @@ class TestingConfig(BaseConfig):
class ProductionConfig(BaseConfig): class ProductionConfig(BaseConfig):
"""Production configuration.""" """Production configuration."""
SECRET_KEY = '' SECRET_KEY = os.getenv('SECRET_KEY')
DEBUG = False DEBUG = False
SQLALCHEMY_DATABASE_URI = 'postgres://mzwaocmnwvesac:d86d256a9e73639d0ac1eba3651f3f5268540e6417b110265fd58398358d1c1b@ec2-174-129-227-51.compute-1.amazonaws.com:5432/d1jbr1uiojpma' SQLALCHEMY_DATABASE_URI = 'postgres://mzwaocmnwvesac:d86d256a9e73639d0ac1eba3651f3f5268540e6417b110265fd58398358d1c1b@ec2-174-129-227-51.compute-1.amazonaws.com:5432/d1jbr1uiojpma'