update db conf in production

This commit is contained in:
jlusiardi 2021-12-21 16:21:00 +00:00
parent bc7e1591bd
commit 8728d3028b
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ class TestingConfig(Config):
class ProductionConfig(Config):
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:{h}@database/pitstops'.format(
h=os.environ.get('DATABASE_ENV_MYSQL_ROOT_PASSWORD'))
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:{h}@localhost/pitstops'.format(
h=os.environ.get('MYSQL_PASSWORD'))
config = {