Load DB Connection from ENV

This commit is contained in:
2022-07-15 15:27:36 +02:00
parent fc78bdc4fe
commit 57ced69ddd
3 changed files with 16 additions and 2 deletions

View File

@ -229,6 +229,7 @@ def admin():
@app.before_first_request
def activate_job():
helpers.load_dbconfig(app)
helpers.load_version(app)
helpers.create_data_directory()
database.create_entry_table()