1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Merge pull request #92 from FoxxMD/apiKeysLoadOrder

Load api keys before building database for api accessibility
This commit is contained in:
krateng 2021-12-14 18:51:42 +01:00 committed by GitHub
commit 975e57ea46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -707,8 +707,8 @@ def start_db():
log("Starting database...")
global lastsync
lastsync = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
build_db()
loadAPIkeys()
build_db()
#run(dbserver, host='::', port=PORT, server='waitress')
log("Database reachable!")