update db conf in production

This commit is contained in:
jlusiardi 2021-12-21 16:23:15 +00:00
parent 8728d3028b
commit 7f82a288da

View File

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